aboutsummaryrefslogtreecommitdiff
path: root/comms/lrzsz/files/patch-src::lrz.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-28 23:04:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-28 23:04:48 +0000
commita5b076053ebbcdb7ec73c600dcdc88dc90c30fb0 (patch)
treef0ea18f34ac0e68bc6cc4a1b3ed1a4a07ad1a4a4 /comms/lrzsz/files/patch-src::lrz.c
parent49dda8d0284c06ea77b5b1975fd723f7f6676e2f (diff)
downloadports-a5b076053ebbcdb7ec73c600dcdc88dc90c30fb0.tar.gz
ports-a5b076053ebbcdb7ec73c600dcdc88dc90c30fb0.zip
Notes
Diffstat (limited to 'comms/lrzsz/files/patch-src::lrz.c')
-rw-r--r--comms/lrzsz/files/patch-src::lrz.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/comms/lrzsz/files/patch-src::lrz.c b/comms/lrzsz/files/patch-src::lrz.c
new file mode 100644
index 000000000000..9a1af487d185
--- /dev/null
+++ b/comms/lrzsz/files/patch-src::lrz.c
@@ -0,0 +1,15 @@
+--- src/lrz.c.orig Sun Sep 28 16:02:13 2003
++++ src/lrz.c Sun Sep 28 16:02:34 2003
+@@ -1159,9 +1159,9 @@
+
+ nameend = name + 1 + strlen(name);
+ if (*nameend) { /* file coming from Unix or DOS system */
+- long modtime;
+- long bytes_total;
+- int mode;
++ long modtime=0;
++ long bytes_total=DEFBYTL;
++ int mode=0;
+ sscanf(nameend, "%ld%lo%o", &bytes_total, &modtime, &mode);
+ zi->modtime=modtime;
+ zi->bytes_total=bytes_total;