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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 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
  • 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  
    3030
    3131    pVersion = UzpVersion();
    3232
    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 
    5433    /* call the actual UnZip routine (string-arguments version) */
    5534    return UzpMain(argc, argv);
    5635}
Note: See TracBrowser for help on using the repository browser.