summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--old/fileutils/ChangeLog5
-rw-r--r--src/install.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog
index fa2110589..e74e52ed7 100644
--- a/old/fileutils/ChangeLog
+++ b/old/fileutils/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-01 Jim Meyering <meyering@lucent.com>
+
+ * src/install.c (change_attributes): Don't even attempt the chmod
+ if the chown fails. Reported by Marc Olzheim.
+
2000-04-30 Jim Meyering <meyering@lucent.com>
* src/touch.c (O_NOCTTY): Define if not defined already.
diff --git a/src/install.c b/src/install.c
index 20931f63b..b34909b76 100644
--- a/src/install.c
+++ b/src/install.c
@@ -517,13 +517,6 @@ change_attributes (const char *path)
err = 1;
}
- if (err)
- {
- error (0, 0, "removing file: `%s'", path);
- if (unlink (path))
- error (0, errno, "cannot remove `%s'", path);
- }
-
return err;
}