rpms/autofs/devel autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch, 1.1, 1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Nov 25 03:28:22 UTC 2006


Author: ikent

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

Modified Files:
	autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch 
Log Message:
- fix error in "parse-bad-master-map-mountpoint" fix.


autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch:
 CHANGELOG          |    1 
 lib/master_parse.y |   12 ++------
 lib/master_tok.l   |   75 ++++++++++++++++-------------------------------------
 3 files changed, 28 insertions(+), 60 deletions(-)

Index: autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch
===================================================================
RCS file: /cvs/dist/rpms/autofs/devel/autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch	25 Nov 2006 03:14:32 -0000	1.1
+++ autofs-5.0.1-rc2-parse-bad-master-map-mountpoint.patch	25 Nov 2006 03:28:20 -0000	1.2
@@ -10,30 +10,6 @@
  
  1/9/2006 autofs-5.0.1 rc2
  -------------------------
-diff --git a/lib/cache.c b/lib/cache.c
-index 009d271..7b8d5a8 100644
---- a/lib/cache.c
-+++ b/lib/cache.c
-@@ -351,6 +351,9 @@ struct mapent *cache_lookup(struct mapen
- {
- 	struct mapent *me = NULL;
- 
-+	if (!me)
-+		return NULL;
-+
- 	for (me = mc->hash[hash(key)]; me != NULL; me = me->next) {
- 		if (strcmp(key, me->key) == 0)
- 			goto done;
-@@ -377,6 +380,9 @@ struct mapent *cache_lookup_distinct(str
- {
- 	struct mapent *me;
- 
-+	if (!me)
-+		return NULL;
-+
- 	for (me = mc->hash[hash(key)]; me != NULL; me = me->next) {
- 		if (strcmp(key, me->key) == 0)
- 			return me;
 diff --git a/lib/master_parse.y b/lib/master_parse.y
 index 47d9a07..3250d39 100644
 --- a/lib/master_parse.y




More information about the fedora-cvs-commits mailing list