Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 14:43:56 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/xinstall xinstall.c
Message-ID:  <200211152243.gAFMhuwH049907@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       2002/11/15 14:43:56 PST

  Modified files:
    usr.bin/xinstall     xinstall.c 
  Log:
  A little bit of anti-foot-shooting.  Use utimes(2) rather than
  the deprecated utime(3).  utimes(2) uses timeval, but utime(3) uses
  time_t's.  If you do bad things (like I did) by mixing up include files
  with libc, then install can do strange things if you mismatch the time_t
  stuff.  utime() is emulated entirely within libc.
  
  Approved by:  re (jhb)
  
  Revision  Changes    Path
  1.59      +11 -8     src/usr.bin/xinstall/xinstall.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211152243.gAFMhuwH049907>