projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145d804
)
(change_timestamps): Fix int->bool conversion
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 10 Aug 2004 20:32:19 +0000
(20:32 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 10 Aug 2004 20:32:19 +0000
(20:32 +0000)
bugs introduced on 2004-07-29.
src/install.c
patch
|
blob
|
history
diff --git
a/src/install.c
b/src/install.c
index
5879eca
..
c9e1f4d
100644
(file)
--- a/
src/install.c
+++ b/
src/install.c
@@
-538,7
+538,7
@@
change_timestamps (const char *from, const char *to)
if (stat (from, &stb))
{
error (0, errno, _("cannot obtain time stamps for %s"), quote (from));
- return
tru
e;
+ return
fals
e;
}
timespec[0].tv_sec = stb.st_atime;
@@
-548,9
+548,9
@@
change_timestamps (const char *from, const char *to)
if (utimens (to, timespec))
{
error (0, errno, _("cannot set time stamps for %s"), quote (to));
- return
tru
e;
+ return
fals
e;
}
- return
fals
e;
+ return
tru
e;
}
/* Strip the symbol table from the file PATH.