Patch#5 for unzipbsd.
Michael Enkelis
michaele at vice.ICO.TEK.COM
Fri Jun 2 09:34:24 AEST 1989
Don't wory about a patch#4, there was none posted as
that is when i started useing a "patchlevel.h" file.
This fixes a bug when used on a SUN and you try to
strcpy a NULL pointer.
*** patchlevel.h.orig Thu Jun 1 16:21:31 1989
--- patchlevel.h Thu Jun 1 16:16:44 1989
***************
*** 1 ****
! #define PATCH 4
--- 1 ----
! #define PATCH 5
*** unzipbsd.c.orig Thu Jun 1 16:09:19 1989
--- unzipbsd.c Thu Jun 1 16:29:51 1989
***************
*** 1183,1190 ****
}
}
! strcpy(zipfn,argv[optind]);
! if (strlen(zipfn) == 0)
long_help();
/* .ZIP default if none provided by user */
--- 1183,1191 ----
}
}
! if (argv[optind] != NULL)
! strcpy(zipfn,argv[optind]);
! else
long_help();
/* .ZIP default if none provided by user */
--
_ _ _ __
' ) ) ) / /) / ` / /) Michael Enkelis
/ / / o _. /_ __. _ // /-- __ /_ _ // o _ tektronix!vice!michaele
/ ' (_(_(__/ /_(_(_(<_(/_ (___, /) )_/ <_(<_(/_(_/_)_ (503) 627-4099
More information about the Alt.sources
mailing list