- (bal) minor correction to utimes() replacement. Patch by

onoe@sm.sony.co.jp
This commit is contained in:
Ben Lindstrom 2002-07-03 23:50:00 +00:00
parent 6dbf3001ec
commit 723e29aa20
2 changed files with 6 additions and 4 deletions

View File

@ -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 $

View File

@ -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 @@ 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));
}