Compiling with Sun compilers from SC5.0 onward.

David Collier-Brown davecb at canada.sun.com
Tue Apr 10 20:16:23 GMT 2001


  There's one outstanding oops in wrapped.c from before: utimes.
The declaration I'd prefer is
	int utimes(const char *name, const struct timeval *tvp)
but you might want to #ifdef it with 
	#ifdef __SUNPRO_C 
if you only want it to be used with the Sun compilers.
  The newer compilers, version 5.0 and 6.1, both  report a fatal
error if the declaration is wrong.

--dave 
-- 
David Collier-Brown,           | Always do right. This will gratify 
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering  |                      -- Mark Twain
(905) 415-2849                 | davecb at canada.sun.com




More information about the samba-technical mailing list