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

2002-06-06 Thread Matt Seitz
From: Tim Potter [mailto:[EMAIL PROTECTED]] >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 fo

RE: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-31 Thread Matt Seitz
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >The only thing would be to completely disallow >connection timeouts for Win9x clients - I'm not sure >this is what we want. Perhaps timeouts could be prevented for a 9x client when an oplock is present? Or have two timeouts: a shorter (sof

RE: One more compile warning fix for Solaris

2002-05-17 Thread Matt Seitz
From: Richard Bollinger [mailto:[EMAIL PROTECTED]] >- int fromlen = sizeof(from); >+ unsigned int fromlen = sizeof(from); Wouldn't the following be more portable? size_t fromlen = sizeof(from); Sincerely, Matt Seitz Senior Software Engineer Quantum Corporation