Contents of /trunk/unzip/patches/unzip-5.52-dont_make_noise.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1782 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1782 byte(s)
-import
1 | Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org> |
2 | Date: 2003-09-22 |
3 | Initial Package Version: 5.50 |
4 | Origin: http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2003-August/003213.html |
5 | Description: When unzipping files, the unzip stub prints out lot of "useful" info messages. |
6 | These messages can cause applications such as Midnight Commander to display strange behavior. |
7 | This patch is useful for users linking unzip to the system zlib |
8 | (i.e. installed as per the BLFS guidelines). |
9 | |
10 | $LastChangedBy: randy $ |
11 | $Date: 2007-05-08 20:40:04 $ |
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 | } |