- (bal) minor correction to utimes() replacement. Patch by
onoe@sm.sony.co.jp
diff --git a/ChangeLog b/ChangeLog
index cd6b353..9027d6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
20020703
- (bal) Updated contrib/cygwin/ patch by vinschen@redhat.com
+ - (bal) minor correction to utimes() replacement. Patch by
+ onoe@sm.sony.co.jp
20020702
- (djm) Use PAM_MSG_MEMBER for PAM_TEXT_INFO messages, use xmalloc &
@@ -1208,4 +1210,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
-$Id: ChangeLog,v 1.2314 2002/07/03 23:33:19 mouring Exp $
+$Id: ChangeLog,v 1.2315 2002/07/03 23:50:00 mouring Exp $
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index fa48afe..60526be 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -24,7 +24,7 @@
#include "includes.h"
-RCSID("$Id: bsd-misc.c,v 1.8 2002/06/13 21:34:58 mouring Exp $");
+RCSID("$Id: bsd-misc.c,v 1.9 2002/07/03 23:50:00 mouring Exp $");
char *get_progname(char *argv0)
{
@@ -93,8 +93,8 @@
{
struct utimbuf ub;
- ub.actime = tvp->tv_sec;
- ub.modtime = tvp->tv_usec;
+ ub.actime = tvp[0]->tv_sec;
+ ub.modtime = tvp[1]->tv_usec;
return(utime(filename, &ub));
}