[Bug 344] New: syntax error in bsd-misc.c / utimes()
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Jul 9 05:29:53 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=344
Summary: syntax error in bsd-misc.c / utimes()
Product: Portable OpenSSH
Version: -current
Platform: ix86
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: gert at greenie.muc.de
bsd-misc.c needs the following patch to compile on SCO 3.2v4.2 (which
has no utimes()). I did not test this, just tried to adapt the code to what
the utimes() man pages on FreeBSD says it should do. Someone needs
more coffee here :-)
-------- snip --------
--- bsd-misc.c 3 Jul 2002 23:50:00 -0000 1.9
+++ bsd-misc.c 8 Jul 2002 19:30:26 -0000
@@ -93,8 +93,8 @@
{
struct utimbuf ub;
- ub.actime = tvp[0]->tv_sec;
- ub.modtime = tvp[1]->tv_usec;
+ ub.actime = tvp[0].tv_sec;
+ ub.modtime = tvp[1].tv_sec;
return(utime(filename, &ub));
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list