Skip to content

Commit

Permalink
29952: fix cut'n'paste error in nanosecond timestamp support
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Kiddle committed Dec 7, 2011
1 parent 79f2f7f commit fe1dc51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
@@ -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>

* unposted: Config/version.mk: release 4.3.14.
Expand Down Expand Up @@ -15657,5 +15662,5 @@

*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5517 $
* $Revision: 1.5518 $
*****************************************************
6 changes: 3 additions & 3 deletions Src/glob.c
Expand Up @@ -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++;
Expand Down

0 comments on commit fe1dc51

Please sign in to comment.