Displaying 4 results from an estimated 4 matches for "zerror".
Did you mean:
error
2010 Jun 15
1
libldb-samba.so does not link in source4 samba
...amba/source4 # make
WAF_MAKE=1 ../buildtools/bin/waf build
Waf: Entering directory `/usr/src/bamba/samba/source4/bin'
[1816/1961] Linking default/source4/lib/ldb/libldb-samba4.so
[1908/1961] Linking default/source4/lib/ldb/ldbadd
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `zError'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `inflateReset'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `deflate'
default/source4/lib/ldb/libldb-samba4.so: undefined reference to `inflateInit2_'
default/source4/lib/ldb/libldb-samba4.so: unde...
2020 Jul 10
2
[PATCH nbdkit] New filter: gzip
...d *nxdata, int readonly)
+{
+ /* Always pass readonly=1 to the underlying plugin. */
+ if (next (nxdata, 1) == -1)
+ return NULL;
+
+ return NBDKIT_HANDLE_NOT_NEEDED;
+}
+
+/* Convert a zlib error (always negative) to an nbdkit error message,
+ * and return errno correctly.
+ */
+static void
+zerror (const char *op, const z_stream *strm, int zerr)
+{
+ if (zerr == Z_MEM_ERROR) {
+ errno = ENOMEM;
+ nbdkit_error ("gzip: %s: %m", op);
+ }
+ else {
+ errno = EIO;
+ if (strm->msg)
+ nbdkit_error ("gzip: %s: %s", op, strm->msg);
+ else
+ nbdkit_...
2008 Mar 07
1
Trouble with R CMD check
...1890: warning: 'ia' might be used uninitialized in this
function
lsdall.c:1895: warning: 'u3' might be used uninitialized in this
function
lsdall.c:1895: warning: 'u4' might be used uninitialized in this
function
lsdall.c: In function `liter':
lsdall.c:369: warning: 'zerror' might be used uninitialized in this
function
lsdall.c:370: warning: 'newlikelihood' might be used uninitialized in
this function
lsdall.c: In function `logcensor':
lsdall.c:51: warning: 'xnknots' might be used uninitialized in this
function
lsdall.c:55: warning: 'xczhet...
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...o.
*/
-extern int ZEXPORT gzclose OF((gzFile file));
+ZEXTERN int ZEXPORT gzclose OF((gzFile file));
/*
Flushes all pending output if necessary, closes the compressed file
and deallocates all the (de)compression state. The return value is the zlib
error number (see function gzerror below).
*/
-extern const char * ZEXPORT gzerror OF((gzFile file, int *errnum));
+ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum));
/*
Returns the error message for the last error which occurred on the
given compressed file. errnum is set to zlib error number. If an...