diff options
Diffstat (limited to 'archivers/lha/files/patch-lharc.c')
-rw-r--r-- | archivers/lha/files/patch-lharc.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/archivers/lha/files/patch-lharc.c b/archivers/lha/files/patch-lharc.c index 41c40de01872..7b309e08f42e 100644 --- a/archivers/lha/files/patch-lharc.c +++ b/archivers/lha/files/patch-lharc.c @@ -1,15 +1,15 @@ ---- src/lharc.c.orig Sun May 7 00:05:29 2000 -+++ src/lharc.c Fri Jul 28 19:35:31 2000 -@@ -889,6 +889,7 @@ - /* */ +--- src/lharc.c.orig 2000-10-05 17:33:34 UTC ++++ src/lharc.c +@@ -894,6 +894,7 @@ free_files(filec, filev) + /* */ /* ------------------------------------------------------------------------ */ /* Build temporary file name and store to TEMPORARY_NAME */ +#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) void build_temporary_name() { -@@ -912,7 +913,7 @@ - mktemp(temporary_name); +@@ -925,7 +926,7 @@ build_temporary_name() + #endif #endif } - @@ -17,3 +17,12 @@ /* ------------------------------------------------------------------------ */ static void modify_filename_extention(buffer, ext) +@@ -1038,7 +1039,7 @@ open_old_archive() + else + return NULL; + } +- if (p = (char *) rindex(archive_name, '.')) { ++ if ((p = (char *) rindex(archive_name, '.'))) { + if (strucmp(".LZH", p) == 0 + || strucmp(".LZS", p) == 0 + || strucmp(".COM", p) == 0 /* DOS SFX */ |