Print this page
11506 smatch resync

Split Close
Expand all
Collapse all
          --- old/usr/src/boot/lib/libstand/Makefile.inc
          +++ new/usr/src/boot/lib/libstand/Makefile.inc
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2016 Toomas Soome <tsoome@me.com>
       14 +# Copyright 2019 Joyent, Inc.
  14   15  #
  15   16  
  16   17  #
  17   18  # Notes:
  18   19  # - We don't use the libc strerror/sys_errlist because the string table is
  19   20  #   quite large.
  20   21  #
  21   22  
  22   23  # standalone components and stuff we have modified locally
  23   24  SRCS=   $(ZLIB)/gzguts.h $(ZLIB)/zutil.h
↓ open down ↓ 54 lines elided ↑ open up ↑
  78   79  OBJS += uuid_create_nil.o uuid_equal.o uuid_from_string.o uuid_is_nil.o \
  79   80          uuid_to_string.o
  80   81  
  81   82  # decompression functionality from libbz2
  82   83  # NOTE: to actually test this functionality after libbz2 upgrade compile
  83   84  # loader(8) with LOADER_BZIP2_SUPPORT defined
  84   85  _bzlib.o _crctable.o _decompress.o _huffman.o _randtable.o bzipfs.o \
  85   86  := CFLAGS += -DBZ_LOADER -DBZ_NO_STDIO -DBZ_NO_COMPRESS
  86   87  SRCS += libstand_bzlib_private.h
  87   88  
       89 +# too hairy
       90 +_inflate.o := SMATCH=off
       91 +
  88   92  SRCS += _bzlib.c _crctable.c _decompress.c _huffman.c _randtable.c
  89   93  OBJS += _bzlib.o _crctable.o _decompress.o _huffman.o _randtable.o
  90   94  CLEANFILES +=   _bzlib.c _crctable.c _decompress.c _huffman.c _randtable.c
  91   95  
  92   96  _bzlib.c: $(SRC)/common/bzip2/bzlib.c
  93   97          sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
  94   98  
  95   99  _crctable.c: $(SRC)/common/bzip2/crctable.c
  96  100          sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
  97  101  
↓ open down ↓ 103 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX