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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since eec901a 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
  • 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.