rpms/autofs/FC-5 autofs-4.1.4-dont-create-remote-dirs.patch, 1.1, 1.2 autofs.spec, 1.85, 1.86

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Oct 24 08:02:50 UTC 2006


Author: ikent

Update of /cvs/dist/rpms/autofs/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv20988

Modified Files:
	autofs-4.1.4-dont-create-remote-dirs.patch autofs.spec 
Log Message:
* Tue Oct 24 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-32
- correction to patch for revision 31.


autofs-4.1.4-dont-create-remote-dirs.patch:
 daemon/automount.c  |   39 +++++++++++++++++++++-----------
 include/automount.h |    4 +++
 lib/mounts.c        |   63 ++++++++++++++++++++++++++++++++++++++++++----------
 3 files changed, 81 insertions(+), 25 deletions(-)

Index: autofs-4.1.4-dont-create-remote-dirs.patch
===================================================================
RCS file: /cvs/dist/rpms/autofs/FC-5/autofs-4.1.4-dont-create-remote-dirs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-4.1.4-dont-create-remote-dirs.patch	24 Oct 2006 06:14:26 -0000	1.1
+++ autofs-4.1.4-dont-create-remote-dirs.patch	24 Oct 2006 08:02:47 -0000	1.2
@@ -27,7 +27,7 @@
  int allow_owner_mount(const char *);
 --- autofs-4.1.4/daemon/automount.c.dont-create-remote-dirs	2006-10-04 04:06:20.000000000 +0800
 +++ autofs-4.1.4/daemon/automount.c	2006-10-04 04:07:47.000000000 +0800
-@@ -101,6 +101,28 @@
+@@ -101,6 +101,29 @@
  static int handle_packet_expire(const struct autofs_packet_expire *pkt);
  static int umount_all(int force);
  
@@ -48,15 +48,16 @@
 +	if (contained_in_local_fs(path)) {
 +		if (mkdir(path, mode) == -1)
 +			return 0;
++		return 1;
 +	}
 +
-+	return 1;
++	return 0;
 +}
 +
  int mkdir_path(const char *path, mode_t mode)
  {
  	char *buf = alloca(strlen(path) + 1);
-@@ -113,19 +135,9 @@
+@@ -113,19 +136,9 @@
  			bp += cp - lcp;
  			lcp = cp;
  			*bp = '\0';


Index: autofs.spec
===================================================================
RCS file: /cvs/dist/rpms/autofs/FC-5/autofs.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- autofs.spec	24 Oct 2006 06:14:26 -0000	1.85
+++ autofs.spec	24 Oct 2006 08:02:48 -0000	1.86
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems.
 Name: autofs
 %define version 4.1.4
-%define release 31
+%define release 32
 Version: %{version}
 Release: %{release}
 Epoch: 1
@@ -169,6 +169,9 @@
 %{_libdir}/autofs/*
 
 %changelog
+* Tue Oct 24 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-32
+- correction to patch for revision 31.
+
 * Tue Oct 24 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-31
 - deal with changed semantics of mkdir in kernel-2.6.18-1.2200.
 - Resolves: rhbz#211207




More information about the fedora-cvs-commits mailing list