]> andersk Git - openssh.git/commitdiff
- (bal) minor correction to utimes() replacement. Patch by
authormouring <mouring>
Wed, 3 Jul 2002 23:50:00 +0000 (23:50 +0000)
committermouring <mouring>
Wed, 3 Jul 2002 23:50:00 +0000 (23:50 +0000)
   onoe@sm.sony.co.jp

ChangeLog
openbsd-compat/bsd-misc.c

index fe8714ba6b0bebce0868ec4d6fc79055a3095f34..0ddc849cbea654434860bee242c0ae6607b52b97 100644 (file)
--- 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 & 
index df2b4b560db43cbaf364082ff2e9e30eba005380..c0a338db2e976c6c5f067f0fef00ff63e822ad24 100644 (file)
@@ -93,8 +93,8 @@ int utimes(char *filename, struct timeval *tvp)
 {
        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));
 }
This page took 0.16314 seconds and 5 git commands to generate.