- one line correction in fd_leak patch
This commit is contained in:
parent
7da0056762
commit
c5cee3774a
@ -219,7 +219,7 @@ diff -up ppp-2.4.4/pppd/main.c.fd_leak ppp-2.4.4/pppd/main.c
|
|||||||
+ FILE *f;
|
+ FILE *f;
|
||||||
+
|
+
|
||||||
+#if defined(O_CLOEXEC) && defined(SOCK_CLOEXEC)
|
+#if defined(O_CLOEXEC) && defined(SOCK_CLOEXEC)
|
||||||
+ if (cloexec_exec != -1) {
|
+ if (cloexec_works != -1) {
|
||||||
+ f = fopen(path, "re");
|
+ f = fopen(path, "re");
|
||||||
+ if (f != NULL) {
|
+ if (f != NULL) {
|
||||||
+ check_cloexec(fileno(f));
|
+ check_cloexec(fileno(f));
|
||||||
|
5
ppp.spec
5
ppp.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The Point-to-Point Protocol daemon
|
Summary: The Point-to-Point Protocol daemon
|
||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.4.5
|
Version: 2.4.5
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.samba.org/ppp
|
URL: http://www.samba.org/ppp
|
||||||
@ -129,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc PLUGINS
|
%doc PLUGINS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 04 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-5
|
||||||
|
- one line correction in fd_leak patch
|
||||||
|
|
||||||
* Wed Feb 03 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-4
|
* Wed Feb 03 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-4
|
||||||
- applied patch fd_leak
|
- applied patch fd_leak
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user