RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall
Root: /v/rpm/cvs Email: [EMAIL PROTECTED]
Module: rpm Date: 24-Jun-2007 22:49:26
Branch: HEAD Handle: 2007062421492600
Modified files:
rpm/build build.c
Log:
remove a totally broken piece of code from 1999 which would not
compile even if HAVE_FCHMOD would be defined. But HAVE_FCHMOD is ever
defined anyway, too
Summary:
Revision Changes Path
2.112 +0 -11 rpm/build/build.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/build/build.c
============================================================================
$ cvs diff -u -r2.111 -r2.112 build.c
--- rpm/build/build.c 25 May 2007 17:35:56 -0000 2.111
+++ rpm/build/build.c 24 Jun 2007 20:49:26 -0000 2.112
@@ -140,17 +140,6 @@
goto exit;
}
-#ifdef HAVE_FCHMOD
- switch (rootut) {
- case URL_IS_PATH:
- case URL_IS_UNKNOWN:
- (void)fchmod(Fileno(fd), 0600);
- break;
- default:
- break;
- }
-#endif
-
/[EMAIL PROTECTED]@*/
if (fdGetFp(fd) == NULL)
xfd = Fdopen(fd, "w.fpio");
@@ .
______________________________________________________________________
RPM Package Manager http://rpm5.org
CVS Sources Repository [email protected]