Mercurial > hg > nginx
view auto/lib/zlib/makefile.bcc @ 6438:646985c55393
Truncation detection in sendfilev() on Solaris.
While sendfilev() is documented to return -1 with EINVAL set
if the file was truncated, at least Solaris 11 silently returns 0,
and this results in CPU hog. Added a test to complain appropriately
if 0 is returned.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 15 Mar 2016 18:26:59 +0300 |
parents | 9d458803bbe0 |
children |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. CFLAGS = -q -O2 -tWM -w-8004 -w-8012 $(CPU_OPT) zlib.lib: cd $(ZLIB) bcc32 -c $(CFLAGS) adler32.c crc32.c deflate.c \ trees.c zutil.c compress.c \ inflate.c inffast.c inftrees.c tlib zlib.lib +adler32.obj +crc32.obj +deflate.obj \ +trees.obj +zutil.obj +compress.obj \ +inflate.obj +inffast.obj +inftrees.obj