From fe1dc5102a952f281feec14cb3f7d7c3996f62de Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 7 Dec 2011 01:31:20 +0000 Subject: 29952: fix cut'n'paste error in nanosecond timestamp support --- ChangeLog | 7 ++++++- Src/glob.c | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 48b89b147..3d183541a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-07 Oliver Kiddle + + * 29952: Src/glob.c: fix cut'n'paste error in nanosecond + timestamp support + 2011-12-06 Peter Stephenson * unposted: Config/version.mk: release 4.3.14. @@ -15657,5 +15662,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5517 $ +* $Revision: 1.5518 $ ***************************************************** diff --git a/Src/glob.c b/Src/glob.c index cf4a5a537..96c00dedb 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -422,13 +422,13 @@ insert(char *s, int checked) matchptr->_ctime = buf2.st_ctime; matchptr->_links = buf2.st_nlink; #ifdef GET_ST_ATIME_NSEC - matchptr->_ansec = GET_ST_ATIME_NSEC(buf); + matchptr->_ansec = GET_ST_ATIME_NSEC(buf2); #endif #ifdef GET_ST_MTIME_NSEC - matchptr->_mnsec = GET_ST_MTIME_NSEC(buf); + matchptr->_mnsec = GET_ST_MTIME_NSEC(buf2); #endif #ifdef GET_ST_CTIME_NSEC - matchptr->_cnsec = GET_ST_CTIME_NSEC(buf); + matchptr->_cnsec = GET_ST_CTIME_NSEC(buf2); #endif } matchptr++; -- cgit 1.4.1