Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 99 → Rev 100

/shark/trunk/ports/png/gzio.c
5,7 → 5,7
* Compile this file with -DNO_DEFLATE to avoid the compression code.
*/
 
/* @(#) $Id: gzio.c,v 1.1 2003-03-20 13:08:10 giacomo Exp $ */
/* @(#) $Id: gzio.c,v 1.2 2003-03-20 14:58:29 giacomo Exp $ */
 
#include <stdio.h>
 
530,10 → 530,11
 
va_start(va, format);
#ifdef HAS_vsnprintf
(void)vsnprintf(buf, sizeof(buf), format, va);
//(void)vsnprintf(buf, sizeof(buf), format, va);
#else
(void)vsprintf(buf, format, va);
//(void)vsprintf(buf, format, va);
#endif
sprintf(buf,format);
va_end(va);
len = strlen(buf); /* some *sprintf don't return the nb of bytes written */
if (len <= 0) return 0;
/shark/trunk/ports/png/makefile
10,7 → 10,7
 
OBJS_PATH = $(BASE)/ports/png
 
PNG = adler32.o compress.o crc32.o deflate.o example.o gzio.o\
PNG = adler32.o compress.o crc32.o deflate.o gzio.o\
infblock.o infcodes.o inffast.o inflate.o inftrees.o\
infutil.o png.o pngerror.o pnggccrd.o pngget.o pngmem.o\
pngread.o pngpread.o pngrio.o pngrtran.o pngrutil.o\