summaryrefslogtreecommitdiff
path: root/lib/utime.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
committerBruno Haible <bruno@clisp.org>2009-12-10 20:28:30 +0100
commit441aa3044f43e5572f58c354f01e6bc070acd5c7 (patch)
treebef236e8058dd3469da28ffcd5a6a287222a4c50 /lib/utime.c
parent039ae97b8ae35a2446c5d62d72b21689c97da7e2 (diff)
downloadgnulib-441aa3044f43e5572f58c354f01e6bc070acd5c7.tar.gz
Use spaces for indentation, not tabs.
Diffstat (limited to 'lib/utime.c')
-rw-r--r--lib/utime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/utime.c b/lib/utime.c
index 9ddb8b86f8..8b18745ba8 100644
--- a/lib/utime.c
+++ b/lib/utime.c
@@ -74,8 +74,8 @@ utime_null (const char *file)
|| lseek (fd, (off_t) 0, SEEK_SET) < 0
|| full_write (fd, &c, sizeof c) != sizeof c
/* Maybe do this -- it's necessary on SunOS 4.1.3 with some combination
- of patches, but that system doesn't use this code: it has utimes.
- || fsync (fd) < 0
+ of patches, but that system doesn't use this code: it has utimes.
+ || fsync (fd) < 0
*/
|| (st.st_size == 0 && ftruncate (fd, st.st_size) < 0))
{
@@ -86,12 +86,12 @@ utime_null (const char *file)
if (0 <= fd)
{
if (close (fd) < 0)
- status = -1;
+ status = -1;
/* If there was a prior failure, use the saved errno value.
- But if the only failure was in the close, don't change errno. */
+ But if the only failure was in the close, don't change errno. */
if (saved_errno)
- errno = saved_errno;
+ errno = saved_errno;
}
return status;