source: scripts/untested/blfs-patches/ncompress-4.2.4-gcc34.patch@ a8f17cf

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

r575@server (orig r573): ryan | 2005-06-09 08:51:24 -0700
Add ncompress build script


gcc-3.4 fixes patch is from gentoo
ncompress_4.2.4-15 patch (add bounds checking to fix buffer overflow) from
debian



  • Property mode set to 100644
File size: 915 bytes
  • compress42.c

    old new  
    171171#ifndef NOFUNCDEF
    172172        extern  void    *malloc LARGS((int));
    173173        extern  void    free    LARGS((void *));
    174 #ifndef _IBMR2
     174/* #ifndef _IBMR2
    175175        extern  int             open    LARGS((char const *,int,...));
    176 #endif
     176#endif */
    177177        extern  int             close   LARGS((int));
    178178        extern  int             read    LARGS((int,void *,int));
    179179        extern  int             write   LARGS((int,void const *,int));
     
    184184        extern  char    *strcpy LARGS((char *,char const *));
    185185        extern  char    *strcat LARGS((char *,char const *));
    186186        extern  int             strcmp  LARGS((char const *,char const *));
    187         extern  unsigned strlen LARGS((char const *));
     187/*      extern  unsigned strlen LARGS((char const *)); */
    188188        extern  void    *memset LARGS((void *,char,unsigned int));
    189189        extern  void    *memcpy LARGS((void *,void const *,unsigned int));
    190190        extern  int             atoi    LARGS((char const *));
Note: See TracBrowser for help on using the repository browser.