]> git.pld-linux.org Git - packages/autofs.git/blame - autofs-5.0.2-swallow-null-macro.patch
- 5.0.3 with few official patches. ldap fixes needed
[packages/autofs.git] / autofs-5.0.2-swallow-null-macro.patch
CommitLineData
3d551623
PG
1diff --git a/CHANGELOG b/CHANGELOG
2index fdd07d1..fe7ae00 100644
3--- a/CHANGELOG
4+++ b/CHANGELOG
5@@ -33,6 +33,7 @@
6 - fix deadlock in submount mount module.
7 - fix lack of ferror() checking when reading files.
8 - fix typo in autofs(5) man page.
9+- fix map entry expansion when undefined macro is present.
10
11 18/06/2007 autofs-5.0.2
12 -----------------------
13diff --git a/modules/parse_sun.c b/modules/parse_sun.c
14index 5e14c75..079bda6 100644
15--- a/modules/parse_sun.c
16+++ b/modules/parse_sun.c
17@@ -186,8 +186,7 @@ int expandsunent(const char *src, char *dst, const char *key,
18 dst += l;
19 }
20 len += l;
21- } else
22- return 0;
23+ }
24 src = p + 1;
25 } else {
26 p = src;
27@@ -201,8 +200,7 @@ int expandsunent(const char *src, char *dst, const char *key,
28 dst += l;
29 }
30 len += l;
31- } else
32- return 0;
33+ }
34 src = p;
35 }
36 break;
This page took 0.075638 seconds and 4 git commands to generate.