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. --- ./lib/utimens.c.orig 2007-05-31 08:37:07.000000000 +0200
  2. +++ ./lib/utimens.c 2007-05-31 08:37:17.000000000 +0200
  3. @@ -73,7 +73,7 @@
  4. Return 0 on success, -1 (setting errno) on failure. */
  5. int
  6. -futimens (int fd ATTRIBUTE_UNUSED,
  7. +futimens_local (int fd ATTRIBUTE_UNUSED,
  8. char const *file, struct timespec const timespec[2])
  9. {
  10. /* There's currently no interface to set file timestamps with
  11. @@ -166,5 +166,5 @@
  12. int
  13. utimens (char const *file, struct timespec const timespec[2])
  14. {
  15. - return futimens (-1, file, timespec);
  16. + return futimens_local (-1, file, timespec);
  17. }
  18. --- ./lib/utimens.h.orig 2007-05-31 08:37:07.000000000 +0200
  19. +++ ./lib/utimens.h 2007-05-31 08:37:20.000000000 +0200
  20. @@ -1,3 +1,3 @@
  21. #include "timespec.h"
  22. -int futimens (int, char const *, struct timespec const [2]);
  23. +int futimens_local (int, char const *, struct timespec const [2]);
  24. int utimens (char const *, struct timespec const [2]);
  25. --- ./src/misc.c.orig 2007-05-31 08:37:07.000000000 +0200
  26. +++ ./src/misc.c 2007-05-31 08:37:26.000000000 +0200
  27. @@ -518,7 +518,7 @@
  28. }
  29. #endif
  30. - return futimens (fd, file, timespec);
  31. + return futimens_local (fd, file, timespec);
  32. }
  33. /* A description of a working directory. */