1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 22:51:42 +02:00

29952: fix cut'n'paste error in nanosecond timestamp support

This commit is contained in:
Oliver Kiddle 2011-12-07 01:31:20 +00:00
parent 79f2f7fa2c
commit fe1dc5102a
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2011-12-07 Oliver Kiddle <okiddle@yahoo.co.uk>
* 29952: Src/glob.c: fix cut'n'paste error in nanosecond
timestamp support
2011-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com> 2011-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Config/version.mk: release 4.3.14. * unposted: Config/version.mk: release 4.3.14.
@ -15657,5 +15662,5 @@
***************************************************** *****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL * This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5517 $ * $Revision: 1.5518 $
***************************************************** *****************************************************

View file

@ -422,13 +422,13 @@ insert(char *s, int checked)
matchptr->_ctime = buf2.st_ctime; matchptr->_ctime = buf2.st_ctime;
matchptr->_links = buf2.st_nlink; matchptr->_links = buf2.st_nlink;
#ifdef GET_ST_ATIME_NSEC #ifdef GET_ST_ATIME_NSEC
matchptr->_ansec = GET_ST_ATIME_NSEC(buf); matchptr->_ansec = GET_ST_ATIME_NSEC(buf2);
#endif #endif
#ifdef GET_ST_MTIME_NSEC #ifdef GET_ST_MTIME_NSEC
matchptr->_mnsec = GET_ST_MTIME_NSEC(buf); matchptr->_mnsec = GET_ST_MTIME_NSEC(buf2);
#endif #endif
#ifdef GET_ST_CTIME_NSEC #ifdef GET_ST_CTIME_NSEC
matchptr->_cnsec = GET_ST_CTIME_NSEC(buf); matchptr->_cnsec = GET_ST_CTIME_NSEC(buf2);
#endif #endif
} }
matchptr++; matchptr++;