summaryrefslogtreecommitdiff
path: root/src/touch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
committerJim Meyering <jim@meyering.net>1998-03-15 17:54:50 +0000
commit6684ffa826953b473fe8d7b93770905d081dda74 (patch)
treecdd766842381aab41179bf6b4c9b12295aa40572 /src/touch.c
parentbfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (diff)
downloadcoreutils-6684ffa826953b473fe8d7b93770905d081dda74.tar.xz
Use #if, not #ifdef with HAVE_ macros.
Use #if !, not #ifndef with HAVE_ macros.
Diffstat (limited to 'src/touch.c')
-rw-r--r--src/touch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/touch.c b/src/touch.c
index 41decd08a..7f90b5f52 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -52,7 +52,7 @@ int safe_read ();
int full_write ();
void invalid_arg ();
-#ifndef HAVE_UTIME_NULL
+#if ! HAVE_UTIME_NULL
static int utime_now ();
#endif
@@ -171,7 +171,7 @@ touch (char *file)
if (amtime_now)
{
-#ifndef HAVE_UTIME_NULL
+#if ! HAVE_UTIME_NULL
status = utime_now (file, sbuf.st_size);
#else
/* Pass NULL to utime so it will not fail if we just have
@@ -209,7 +209,7 @@ touch (char *file)
return 0;
}
-#ifndef HAVE_UTIME_NULL
+#if ! HAVE_UTIME_NULL
/* Emulate utime (file, NULL) for systems (like 4.3BSD) that do not
interpret it to set the access and modification times of FILE to
the current time. FILESIZE is the correct size of FILE, used to