diff options
| author | Jim Meyering <jim@meyering.net> | 2007-05-19 18:36:03 +0200 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2007-05-19 18:36:03 +0200 |
| commit | 5ab25eb05b27bdd575edabcd7cc537965a4c161d (patch) | |
| tree | 00c2062065c8fa609973c931ac70f5647422d5a7 /src/touch.c | |
| parent | * Makefile.maint (my-distcheck): Remove -pedantic from $(CFLAGS) (diff) | |
| download | coreutils-5ab25eb05b27bdd575edabcd7cc537965a4c161d.tar.gz coreutils-5ab25eb05b27bdd575edabcd7cc537965a4c161d.zip | |
Rename uses of futimens -> gl_futimens; glibc now declares the former.
* src/copy.c (copy_reg): Reflect renaming: futimens -> gl_futimens.
* src/touch.c (touch): Likewise.
Diffstat (limited to 'src/touch.c')
| -rw-r--r-- | src/touch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touch.c b/src/touch.c index cb54f4828..f9f2c10d0 100644 --- a/src/touch.c +++ b/src/touch.c @@ -1,5 +1,5 @@ /* touch -- change modification and access times of files - Copyright (C) 87, 1989-1991, 1995-2005 Free Software Foundation, Inc. + Copyright (C) 87, 1989-1991, 1995-2005, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -182,7 +182,7 @@ touch (const char *file) t = timespec; } - ok = (futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0); + ok = (gl_futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t) == 0); if (fd == STDIN_FILENO) { |
