apply debian/patches/11_utimes.diff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7ba7198c28
commit
ac1b517350
4 changed files with 22 additions and 1 deletions
|
|
@ -500,8 +500,13 @@ static void from_cache(int first)
|
|||
|
||||
/* update timestamps for LRU cleanup
|
||||
also gives output_file a sensible mtime when hard-linking (for make) */
|
||||
#ifdef HAVE_UTIMES
|
||||
utimes(hashname, NULL);
|
||||
utimes(stderr_file, NULL);
|
||||
#else
|
||||
utime(hashname, NULL);
|
||||
utime(stderr_file, NULL);
|
||||
#endif
|
||||
|
||||
if (strcmp(output_file, "/dev/null") == 0) {
|
||||
ret = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue