cc47d74dec
by one byte and that gets catched by our malloc implementation. OK mbalmer@ jasper@
13 lines
387 B
Plaintext
13 lines
387 B
Plaintext
$OpenBSD: patch-src_lrz_c,v 1.1 2007/04/20 08:55:35 claudio Exp $
|
|
--- src/lrz.c.orig Thu Apr 19 14:24:36 2007
|
|
+++ src/lrz.c Thu Apr 19 14:26:26 2007
|
|
@@ -1251,7 +1251,7 @@ procheader(char *name, struct zm_fileinfo *zi)
|
|
if ( *p == '/')
|
|
*p = '_';
|
|
|
|
- if ( *--p == '.') /* zap trailing period */
|
|
+ if (p != name_static && *--p == '.') /* zap trailing period */
|
|
*p = 0;
|
|
}
|
|
|