rpms/autofs/devel autofs-5.0.3-fix-bad-alloca-usage.patch, 1.1, 1.2 autofs-5.0.3-fix-master-map-lexer-eval-order.patch, 1.1, 1.2

Ian Kent iankent at fedoraproject.org
Sun Nov 2 03:13:47 UTC 2008


Author: iankent

Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15899

Modified Files:
	autofs-5.0.3-fix-bad-alloca-usage.patch 
	autofs-5.0.3-fix-master-map-lexer-eval-order.patch 
Log Message:
- fix two latest patches not applying.


autofs-5.0.3-fix-bad-alloca-usage.patch:

Index: autofs-5.0.3-fix-bad-alloca-usage.patch
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs-5.0.3-fix-bad-alloca-usage.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-5.0.3-fix-bad-alloca-usage.patch	2 Nov 2008 02:27:21 -0000	1.1
+++ autofs-5.0.3-fix-bad-alloca-usage.patch	2 Nov 2008 03:13:46 -0000	1.2
@@ -6,28 +6,13 @@
 lead to stack overflow.
 ---
 
- CHANGELOG       |    1 +
  daemon/lookup.c |    6 +++++-
- 2 files changed, 6 insertions(+), 1 deletions(-)
+ 1 file changed, 5 insertions(+), 1 deletion(-)
 
 
-diff --git a/CHANGELOG b/CHANGELOG
-index 879380e..07feb29 100644
---- a/CHANGELOG
-+++ b/CHANGELOG
-@@ -48,6 +48,7 @@
- - fix $mandir definition in Makefile.conf.in
- - fix init script stop function.
- - fix master map lexer eval order.
-+- fix bad alloca usage.
-  
- 14/01/2008 autofs-5.0.3
- -----------------------
-diff --git a/daemon/lookup.c b/daemon/lookup.c
-index 2233ac8..49030e1 100644
---- a/daemon/lookup.c
-+++ b/daemon/lookup.c
-@@ -608,7 +608,7 @@ int lookup_ghost(struct autofs_point *ap, const char *root)
+--- autofs-5.0.3.orig/daemon/lookup.c
++++ autofs-5.0.3/daemon/lookup.c
+@@ -608,7 +608,7 @@ int lookup_ghost(struct autofs_point *ap
  				goto next;
  			}
  
@@ -36,7 +21,7 @@
  			if (!fullpath) {
  				warn(ap->logopt, "failed to allocate full path");
  				goto next;
-@@ -619,6 +619,7 @@ int lookup_ghost(struct autofs_point *ap, const char *root)
+@@ -619,6 +619,7 @@ int lookup_ghost(struct autofs_point *ap
  			if (ret == -1 && errno != ENOENT) {
  				char *estr = strerror_r(errno, buf, MAX_ERR_BUF);
  				warn(ap->logopt, "stat error %s", estr);
@@ -44,7 +29,7 @@
  				goto next;
  			}
  
-@@ -627,6 +628,7 @@ int lookup_ghost(struct autofs_point *ap, const char *root)
+@@ -627,6 +628,7 @@ int lookup_ghost(struct autofs_point *ap
  				char *estr = strerror_r(errno, buf, MAX_ERR_BUF);
  				warn(ap->logopt,
  				     "mkdir_path %s failed: %s", fullpath, estr);
@@ -52,7 +37,7 @@
  				goto next;
  			}
  
-@@ -634,6 +636,8 @@ int lookup_ghost(struct autofs_point *ap, const char *root)
+@@ -634,6 +636,8 @@ int lookup_ghost(struct autofs_point *ap
  				me->dev = st.st_dev;
  				me->ino = st.st_ino;
  			}

autofs-5.0.3-fix-master-map-lexer-eval-order.patch:

Index: autofs-5.0.3-fix-master-map-lexer-eval-order.patch
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs-5.0.3-fix-master-map-lexer-eval-order.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-5.0.3-fix-master-map-lexer-eval-order.patch	2 Nov 2008 02:27:21 -0000	1.1
+++ autofs-5.0.3-fix-master-map-lexer-eval-order.patch	2 Nov 2008 03:13:46 -0000	1.2
@@ -7,28 +7,13 @@
 error in some versions of flex.
 ---
 
- CHANGELOG        |    1 +
  lib/master_tok.l |    4 ++--
- 2 files changed, 3 insertions(+), 2 deletions(-)
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 
-diff --git a/CHANGELOG b/CHANGELOG
-index 8cdaab2..879380e 100644
---- a/CHANGELOG
-+++ b/CHANGELOG
-@@ -47,6 +47,7 @@
- - fix incorrect pthreads condition handling for expire requests.
- - fix $mandir definition in Makefile.conf.in
- - fix init script stop function.
-+- fix master map lexer eval order.
-  
- 14/01/2008 autofs-5.0.3
- -----------------------
-diff --git a/lib/master_tok.l b/lib/master_tok.l
-index d2c86bc..801aa6f 100644
---- a/lib/master_tok.l
-+++ b/lib/master_tok.l
-@@ -99,7 +99,7 @@ DNSERVSTR1	([[:alpha:]][[:alnum:]\-.]*(:[0-9]+)?:)
+--- autofs-5.0.3.orig/lib/master_tok.l
++++ autofs-5.0.3/lib/master_tok.l
+@@ -99,7 +99,7 @@ DNSERVSTR1	([[:alpha:]][[:alnum:]\-.]*(:
  DNSERVSTR2	(\/\/[[:alpha:]][[:alnum:]\-.]*(:[0-9]+)?\/)
  DNSERVSTR3	(([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}(:[0-9]+)?:)
  DNSERVSTR4	(\/\/([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}(:[0-9]+)?\/)




More information about the scm-commits mailing list