rpms/autofs/F-10 autofs-5.0.3-use-CLOEXEC-flag-setmntent-include-fix.patch, NONE, 1.1 autofs.spec, 1.260, 1.261
Ian Kent
iankent at fedoraproject.org
Thu Feb 19 00:25:02 UTC 2009
- Previous message: rpms/xorg-x11-drv-evdev/devel .cvsignore, 1.26, 1.27 sources, 1.26, 1.27 xorg-x11-drv-evdev.spec, 1.43, 1.44
- Next message: rpms/gedit/devel .cvsignore, 1.85, 1.86 gedit.spec, 1.186, 1.187 sources, 1.87, 1.88
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: iankent
Update of /cvs/pkgs/rpms/autofs/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29804
Modified Files:
autofs.spec
Added Files:
autofs-5.0.3-use-CLOEXEC-flag-setmntent-include-fix.patch
Log Message:
* Thu Feb 19 2009 Ian Kent <ikent at redhat.com> - 5.0.4-41
- fix mntent.h not included before use of setmntent_r().
autofs-5.0.3-use-CLOEXEC-flag-setmntent-include-fix.patch:
--- NEW FILE autofs-5.0.3-use-CLOEXEC-flag-setmntent-include-fix.patch ---
autofs-5.0.3 - use CLOEXEC flag setmntent include fix
From: Ian Kent <raven at themaw.net>
Fix mntent.h not included before use of setmntent_r() in automount.h.
---
include/automount.h | 1 +
lib/mounts.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
--- autofs-5.0.3.orig/include/automount.h
+++ autofs-5.0.3/include/automount.h
@@ -19,6 +19,7 @@
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
+#include <mntent.h>
#include "config.h"
#include "list.h"
--- autofs-5.0.3.orig/lib/mounts.c
+++ autofs-5.0.3/lib/mounts.c
@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <string.h>
-#include <mntent.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-10/autofs.spec,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -r1.260 -r1.261
--- autofs.spec 5 Feb 2009 07:09:46 -0000 1.260
+++ autofs.spec 19 Feb 2009 00:24:31 -0000 1.261
@@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.3
-Release: 39
+Release: 41
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
@@ -72,6 +72,7 @@
Patch60: autofs-5.0.4-fix-dumb-libxml2-check.patch
Patch61: autofs-5.0.3-use-CLOEXEC-flag.patch
Patch62: autofs-5.0.3-use-CLOEXEC-flag-setmntent.patch
+Patch63: autofs-5.0.3-use-CLOEXEC-flag-setmntent-include-fix.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel module-init-tools util-linux nfs-utils e2fsprogs
Requires: kernel >= 2.6.17
@@ -175,6 +176,7 @@
%patch60 -p1
%patch61 -p1
%patch62 -p1
+%patch63 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -227,6 +229,9 @@
%{_libdir}/autofs/
%changelog
+* Thu Feb 19 2009 Ian Kent <ikent at redhat.com> - 5.0.4-41
+- fix mntent.h not included before use of setmntent_r().
+
* Thu Feb 5 2009 Ian Kent <ikent at redhat.com> - 5.0.3-39
- use CLOEXEC flag functionality for setmntent also, if present.
- Previous message: rpms/xorg-x11-drv-evdev/devel .cvsignore, 1.26, 1.27 sources, 1.26, 1.27 xorg-x11-drv-evdev.spec, 1.43, 1.44
- Next message: rpms/gedit/devel .cvsignore, 1.85, 1.86 gedit.spec, 1.186, 1.187 sources, 1.87, 1.88
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list