View | Details | Raw Unified | Return to bug 149936
Collapse All | Expand All

(-)contrib/file/compress.c (-1 / +2 lines)
Lines 197-202 Link Here
197
			if (selrv == -1) {
197
			if (selrv == -1) {
198
				if (errno == EINTR || errno == EAGAIN)
198
				if (errno == EINTR || errno == EAGAIN)
199
					continue;
199
					continue;
200
				return -1;
200
			} else if (selrv == 0 && cnt >= 5) {
201
			} else if (selrv == 0 && cnt >= 5) {
201
				return 0;
202
				return 0;
202
			} else
203
			} else
Lines 381-387 Link Here
381
	(void)fflush(stdout);
382
	(void)fflush(stdout);
382
	(void)fflush(stderr);
383
	(void)fflush(stderr);
383
384
384
	if ((fd != -1 && pipe(fdin) == -1) || pipe(fdout) == -1) {
385
	if ((fd == -1 && pipe(fdin) == -1) || pipe(fdout) == -1) {
385
		file_error(ms, errno, "cannot create pipe");	
386
		file_error(ms, errno, "cannot create pipe");	
386
		return NODATA;
387
		return NODATA;
387
	}
388
	}

Return to bug 149936