source:
scripts_home/scripts/untested/blfs-patches/unzip-5.51-dont_make_noise-1.patch@
1c9c5c3
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.8 KB |
-
unzip-5.50/unzipstb.c
Submitted By: Tushar Teredesai <tushar@linuxfromscratch.org> Date: 2003-09-22 Initial Package Version: 5.50 Origin: http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2003-August/003213.html Description: When unzipping files, the unzip stub prints out lot of "useful" info messages. These messages can cause applications such as Midnight Commander to display strange behavior. This patch is useful for users linking unzip to the system zlib (i.e. installed as per the BLFS guidelines). $LastChangedBy: bdubbs $ $Date: 2004-08-07 18:56:30 -0600 (Sat, 07 Aug 2004) $
old new 30 30 31 31 pVersion = UzpVersion(); 32 32 33 printf("UnZip stub: checking version numbers (DLL is dated %s)\n",34 pVersion->date);35 printf(" UnZip versions: expecting %d.%d%d, using %d.%d%d%s\n",36 UZ_MAJORVER, UZ_MINORVER, UZ_PATCHLEVEL, pVersion->unzip.major,37 pVersion->unzip.minor, pVersion->unzip.patchlevel, pVersion->betalevel);38 printf(" ZipInfo versions: expecting %d.%d%d, using %d.%d%d\n",39 ZI_MAJORVER, ZI_MINORVER, UZ_PATCHLEVEL, pVersion->zipinfo.major,40 pVersion->zipinfo.minor, pVersion->zipinfo.patchlevel);41 42 /*43 D2_M*VER and os2dll.* are obsolete, though retained for compatibility:44 45 printf(" OS2 DLL versions: expecting %d.%d%d, using %d.%d%d\n",46 D2_MAJORVER, D2_MINORVER, D2_PATCHLEVEL, pVersion->os2dll.major,47 pVersion->os2dll.minor, pVersion->os2dll.patchlevel);48 */49 50 if (pVersion->flag & 2)51 printf(" using zlib version %s\n", pVersion->zlib_version);52 printf("\n");53 54 33 /* call the actual UnZip routine (string-arguments version) */ 55 34 return UzpMain(argc, argv); 56 35 }
Note:
See TracBrowser
for help on using the repository browser.