1 --- rpm-4.1/lib/rpminstall.c.wiget Mon Sep 16 21:06:08 2002
2 +++ rpm-4.1/lib/rpminstall.c Thu Sep 19 00:03:36 2002
10 fd = fdLink(fd, "persist (showProgress)");
11 + oldfl=Fcntl(fd, F_GETFD, 0);
13 + oldfl |= FD_CLOEXEC; /* scripts shouldn't inherit rpm file descriptor */
14 + Fcntl(fd, F_SETFD, (void*)oldfl);
18 #if defined(POSIX_FADV_WILLNEED)
19 (void) Fadvise(fd, 0, 0, POSIX_FADV_WILLNEED);