susv3 legacy fix for haserl
This commit is contained in:
parent
ac5ec800c6
commit
a3113ac856
12
package/haserl/haserl-0.9.21-susv3-legacy.patch
Normal file
12
package/haserl/haserl-0.9.21-susv3-legacy.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff -urN haserl-0.9.21-0rig/src/haserl.c haserl-0.9.21/src/haserl.c
|
||||||
|
--- haserl-0.9.21-0rig/src/haserl.c 2007-12-13 22:58:00.000000000 +0100
|
||||||
|
+++ haserl-0.9.21/src/haserl.c 2007-12-13 23:00:10.000000000 +0100
|
||||||
|
@@ -210,7 +210,7 @@
|
||||||
|
}
|
||||||
|
memcpy ((char *) (entry + strlen (prefix)), str, strlen (str));
|
||||||
|
|
||||||
|
- keylen = (size_t) (index (entry, '=') - entry);
|
||||||
|
+ keylen = (size_t) (strchr (entry, '=') - entry);
|
||||||
|
|
||||||
|
if (keylen <= 0)
|
||||||
|
{
|
Loading…
Reference in New Issue
Block a user