summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-24 03:10:57 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-24 03:10:57 +0200
commitb990c6737a92af63d537b4b071f44721401802a3 (patch)
tree8c02155cb9482fb998de585f9a0939c6bfeaf8cd /build
parent0034893b789590e49aebc09127ae90c6170cc148 (diff)
downloadrpm-b990c6737a92af63d537b4b071f44721401802a3.tar.gz
rpm-b990c6737a92af63d537b4b071f44721401802a3.tar.bz2
rpm-b990c6737a92af63d537b4b071f44721401802a3.zip
Remove dead and unused, ifdef'ed HAVE_FCHMOD block of code.
Diffstat (limited to 'build')
-rw-r--r--build/build.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/build/build.c b/build/build.c
index e4bf1cee9..fce960f71 100644
--- a/build/build.c
+++ b/build/build.c
@@ -135,17 +135,6 @@ int doScript(rpmSpec spec, rpmBuildFlags what, const char *name, StringBuf sb, i
goto exit;
}
-#ifdef HAVE_FCHMOD
- switch (rootut) {
- case URL_IS_PATH:
- case URL_IS_UNKNOWN:
- (void)fchmod(Fileno(fd), 0600);
- break;
- default:
- break;
- }
-#endif
-
if (fdGetFp(fd) == NULL)
xfd = Fdopen(fd, "w.fpio");
else