mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

  1. --- ./gzip.c.orig 2007-05-31 01:30:19.000000000 +0200
  2. +++ ./gzip.c 2007-05-31 01:43:30.000000000 +0200
  3. @@ -1650,7 +1650,7 @@
  4. }
  5. }
  6. - if (futimens (ofd, ofname, timespec) != 0)
  7. + if (futimens_local (ofd, ofname, timespec) != 0)
  8. {
  9. int e = errno;
  10. WARN ((stderr, "%s: ", program_name));
  11. --- ./lib/utimens.c.orig 2007-05-31 01:42:36.000000000 +0200
  12. +++ ./lib/utimens.c 2007-05-31 01:42:47.000000000 +0200
  13. @@ -75,7 +75,7 @@
  14. Return 0 on success, -1 (setting errno) on failure. */
  15. int
  16. -futimens (int fd ATTRIBUTE_UNUSED,
  17. +futimens_local (int fd ATTRIBUTE_UNUSED,
  18. char const *file, struct timespec const timespec[2])
  19. {
  20. /* Some Linux-based NFS clients are buggy, and mishandle time stamps
  21. @@ -185,5 +185,5 @@
  22. int
  23. utimens (char const *file, struct timespec const timespec[2])
  24. {
  25. - return futimens (-1, file, timespec);
  26. + return futimens_local (-1, file, timespec);
  27. }
  28. --- ./lib/utimens.h.orig 2007-05-31 01:42:50.000000000 +0200
  29. +++ ./lib/utimens.h 2007-05-31 01:42:55.000000000 +0200
  30. @@ -1,3 +1,3 @@
  31. #include "timespec.h"
  32. -int futimens (int, char const *, struct timespec const [2]);
  33. +int futimens_local (int, char const *, struct timespec const [2]);
  34. int utimens (char const *, struct timespec const [2]);