ANSI C (was RE: Access control to SAM / _samr_query_sec_obj)

Matt Seitz matt.seitz at quantum.com
Thu Jun 6 17:01:01 GMT 2002


From: Tim Potter [mailto:tpot at samba.org]
>On Thu, Jun 06, 2002 at 09:01:45PM +1000, Andrew Bartlett wrote:
>
>> Secondly, I have some further style nit-picks:
>>  - We can't use \\ as a comment in Samba, as many C compilers don't
>> understand it.

>It's actually not ANSI C!  
>Another one I found recently was having a comma on the last element of 
>an enum is not ANSI C. 

Actually, both single line comments ("//") and trailing commas in
enumeration declarations have been legal in ANSI C since 1999.




More information about the samba-technical mailing list