6d9e24f3b4
On commit 5538e47662
the versioned package
patches changed the directory structure but the packages weren't fixed.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 lines
507 B
Diff
13 lines
507 B
Diff
diff -urN haserl-0.8.0-0rig/src/haserl.c haserl-0.8.0/src/haserl.c
|
|
--- haserl-0.8.0-0rig/src/haserl.c 2004-11-10 18:59:35.000000000 +0100
|
|
+++ haserl-0.8.0/src/haserl.c 2007-10-12 14:36:28.000000000 +0200
|
|
@@ -131,7 +131,7 @@
|
|
if (strlen(prefix)) { memcpy (entry, prefix, strlen(prefix)); }
|
|
memcpy ((char *) (entry + strlen(prefix)), newbuf, strlen(newbuf));
|
|
|
|
- keylen = (size_t) (index (entry, '=') - entry);
|
|
+ keylen = (size_t) (strchr (entry, '=') - entry);
|
|
|
|
if ( keylen <= 0 ) {
|
|
free (entry);
|