source: scripts/untested/blfs-patches/unzip-5.51-dont_make_noise-1.patch@ d5e4fdc0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d5e4fdc0 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[617118d]1Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org>
2Date: 2003-09-22
3Initial Package Version: 5.50
4Origin: http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2003-August/003213.html
5Description: When unzipping files, the unzip stub prints out lot of "useful" info messages.
6These messages can cause applications such as Midnight Commander to display strange behavior.
7This patch is useful for users linking unzip to the system zlib
8(i.e. installed as per the BLFS guidelines).
9
10$LastChangedBy: bdubbs $
11$Date: 2004-08-07 18:56:30 -0600 (Sat, 07 Aug 2004) $
12
13--- unzip-5.50/unzipstb.c.orig 2003-09-22 01:05:45.000000000 -0500
14+++ unzip-5.50/unzipstb.c 2003-09-22 01:06:57.000000000 -0500
15@@ -30,27 +30,6 @@
16
17 pVersion = UzpVersion();
18
19- printf("UnZip stub: checking version numbers (DLL is dated %s)\n",
20- pVersion->date);
21- printf(" UnZip versions: expecting %d.%d%d, using %d.%d%d%s\n",
22- UZ_MAJORVER, UZ_MINORVER, UZ_PATCHLEVEL, pVersion->unzip.major,
23- pVersion->unzip.minor, pVersion->unzip.patchlevel, pVersion->betalevel);
24- printf(" ZipInfo versions: expecting %d.%d%d, using %d.%d%d\n",
25- ZI_MAJORVER, ZI_MINORVER, UZ_PATCHLEVEL, pVersion->zipinfo.major,
26- pVersion->zipinfo.minor, pVersion->zipinfo.patchlevel);
27-
28-/*
29- D2_M*VER and os2dll.* are obsolete, though retained for compatibility:
30-
31- printf(" OS2 DLL versions: expecting %d.%d%d, using %d.%d%d\n",
32- D2_MAJORVER, D2_MINORVER, D2_PATCHLEVEL, pVersion->os2dll.major,
33- pVersion->os2dll.minor, pVersion->os2dll.patchlevel);
34- */
35-
36- if (pVersion->flag & 2)
37- printf(" using zlib version %s\n", pVersion->zlib_version);
38- printf("\n");
39-
40 /* call the actual UnZip routine (string-arguments version) */
41 return UzpMain(argc, argv);
42 }
Note: See TracBrowser for help on using the repository browser.