diff options
Diffstat (limited to 'sysutils/radmind/files/patch-update.c')
| -rw-r--r-- | sysutils/radmind/files/patch-update.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/radmind/files/patch-update.c b/sysutils/radmind/files/patch-update.c new file mode 100644 index 000000000000..11be7ccc1e58 --- /dev/null +++ b/sysutils/radmind/files/patch-update.c @@ -0,0 +1,19 @@ +--- ./update.c.orig 2010-12-13 04:42:49.000000000 +0100 ++++ ./update.c 2014-06-29 12:15:04.249543651 +0200 +@@ -26,6 +26,7 @@ + #include "update.h" + #include "code.h" + #include "radstat.h" ++#include "largefile.h" + #include "transcript.h" + #include "progress.h" + #include "mkdirs.h" +@@ -73,7 +74,7 @@ + + mode = strtol( targv[ 2 ], (char **)NULL, 8 ); + +- times.modtime = atoi( targv[ 5 ] ); ++ times.modtime = strtotimet( targv[ 5 ], NULL, 10 ); + if ( times.modtime != st->st_mtime ) { + times.actime = st->st_atime; + if ( utime( path, × ) != 0 ) { |
