Module Name: src Committed By: kamil Date: Tue Jan 10 04:42:20 UTC 2017
Modified Files: src/sbin/savecore: zopen.c Log Message: Adapt funopen(3) call after switch to new zlib(3) In the prototype of the gzclose() function of changed from: typedef struct gzFile_s *gzFile; /* semi-opaque gzip file descriptor */ to: typedef voidp gzFile; This caused type mismatch when calling funopen(3) as: 'int (*)(void *)' != 'int (*)(struct gzFile_s *)' Cast gzclose to (int (*)(void *)) when used in funopen(3). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/savecore/zopen.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.