Print this page
make: avo_alloca.h works around a very old Solaris bug, delete it

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/ar.cc
          +++ new/usr/src/cmd/make/bin/ar.cc
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32   *      a(b)    is file member   b  in archive a
  33   33   *      a((b))  is entry point   b  in object archive a
  34   34   *
  35   35   * For 6.0, create a make which can understand all archive
  36   36   * formats.  This is kind of tricky, and <ar.h> isnt any help.
  37   37   */
  38   38  
  39   39  /*
  40   40   * Included files
  41   41   */
  42      -#include <avo/avo_alloca.h>             /* alloca() */
       42 +#include <alloca.h>             /* alloca() */
  43   43  #include <ar.h>
  44   44  #include <errno.h>              /* errno */
  45   45  #include <fcntl.h>              /* open() */
  46   46  #include <mk/defs.h>
  47   47  #include <mksh/misc.h>          /* retmem_mb() */
  48   48  
  49   49  struct ranlib {
  50   50          union {
  51   51                  off_t   ran_strx;       /* string table index of */
  52   52                  char    *ran_name;      /* symbol defined by */
↓ open down ↓ 793 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX