Samba 2.07 and Solaris 8 (utimes problem is smbwrappers)

David Collier-Brown David.Collier-Brown at canada.sun.com
Tue Oct 10 14:10:14 GMT 2000


Compiling smbwrapper/wrapped.c with -fpic
>smbwrapper/wrapped.c:466:conflicting types for 'utimes'
>/usr/include/sys/time.h:328:previous declaration of 'utimes'
>make: ***[smbwrapper/wrapped.po] Error 1.

	This is a small bug that's specific to Solaris 8:
here's a correction, as a diff (-c, actually: it should
have been -u)

*** wrapped.c.old       Tue Aug 15 15:09:56 2000
  --- wrapped.c   Tue Aug 15 15:11:00 2000
  ***************
  *** 462,468 ****
    #endif
    
    #ifdef HAVE_UTIMES
  !  int utimes(char *name,void *tvp)
    {
          if (smbw_path(name)) {
                  return smbw_utimes(name, tvp);
  --- 462,468 ----
    #endif
    
    #ifdef HAVE_UTIMES
  !  int utimes(const char *name, const struct timeval *tvp)
    {
          if (smbw_path(name)) {
                  return smbw_utimes(name, tvp);

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com




More information about the samba mailing list