From owner-cvs-all Fri Nov 15 14:46:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5039737B401; Fri, 15 Nov 2002 14:46:36 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 034D743E3B; Fri, 15 Nov 2002 14:46:36 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAFMhvmV049908; Fri, 15 Nov 2002 14:43:57 -0800 (PST) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAFMhuwH049907; Fri, 15 Nov 2002 14:43:56 -0800 (PST) Message-Id: <200211152243.gAFMhuwH049907@repoman.freebsd.org> From: Peter Wemm Date: Fri, 15 Nov 2002 14:43:56 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/xinstall xinstall.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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