From: Daniel Schepler Date: Sat, 18 Aug 2007 21:11:52 +0000 (-0400) Subject: Imported Debian patch 1.3.12-3.1 X-Git-Url: https://git.cworth.org/git?p=gzip;a=commitdiff_plain;h=cc4933f3af4a06bfbe17ee54f7ee175eb1a2f3a9 Imported Debian patch 1.3.12-3.1 --- diff --git a/debian/changelog b/debian/changelog index 660c644..3964b55 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +gzip (1.3.12-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename futimens to gz_futimens, since glibc now defines an futimens + function with a different prototype. Closes: #433845. + * Urgency medium for the RC bug fix. + + -- Daniel Schepler Sat, 18 Aug 2007 17:11:52 -0400 + gzip (1.3.12-3) unstable; urgency=low * fix bindir so gunzip, et al, work again, closes: #429462 diff --git a/gzip.c b/gzip.c index bddab98..affde9e 100644 --- a/gzip.c +++ b/gzip.c @@ -1642,7 +1642,7 @@ local void copy_stat(ifstat) } } - if (futimens (ofd, ofname, timespec) != 0) + if (gz_futimens (ofd, ofname, timespec) != 0) { int e = errno; WARN ((stderr, "%s: ", program_name)); diff --git a/lib/utimens.c b/lib/utimens.c index 71bc510..e5e98f7 100644 --- a/lib/utimens.c +++ b/lib/utimens.c @@ -75,7 +75,7 @@ struct utimbuf Return 0 on success, -1 (setting errno) on failure. */ int -futimens (int fd ATTRIBUTE_UNUSED, +gz_futimens (int fd ATTRIBUTE_UNUSED, char const *file, struct timespec const timespec[2]) { /* Some Linux-based NFS clients are buggy, and mishandle time stamps @@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED, int utimens (char const *file, struct timespec const timespec[2]) { - return futimens (-1, file, timespec); + return gz_futimens (-1, file, timespec); } diff --git a/lib/utimens.h b/lib/utimens.h index 0097aaa..77f30d3 100644 --- a/lib/utimens.h +++ b/lib/utimens.h @@ -1,3 +1,3 @@ #include -int futimens (int, char const *, struct timespec const [2]); +int gz_futimens (int, char const *, struct timespec const [2]); int utimens (char const *, struct timespec const [2]);