listhelper-moderate
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug-indent post from address@hidden requires approval


From: bug-indent-owner
Subject: bug-indent post from address@hidden requires approval
Date: Tue, 26 Jun 2007 04:07:03 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: space between * and identifier in function definition
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://lists.gnu.org/mailman/admindb/bug-indent
        
to approve or deny the request.
--- Begin Message --- Subject: space between * and identifier in function definition Date: Tue, 26 Jun 2007 09:36:55 +0200 User-agent: Thunderbird 2.0.0.4 (Windows/20070604)
I noticed that when I run the following through GNU indent (2.2.9):

void
foo(XEvent *event)
{
  /* Do something */
}

The output is formatted as (notice the space between * and event):

void
foo(XEvent * event)   <<<--- look here
{
  /* Do something */
}

Whereas if I format the following:

void
foo(int *ptr)
{
  /* Do something */
}

It comes out unchanged.

The problem seems to occur anytime the pointer points to a non-
primitive data type.

Is this a known issue?  I can't find a documented option to
control the behavior -- is there one?




--- End Message ---
--- Begin Message --- Subject: confirm be2420caed25bbf4d52dfbc5d24112a3fdeb6ae0
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]