From: Wichert Akkerman Date: Sat, 9 Dec 2000 02:26:05 +0000 (+0000) Subject: blah^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab92e38075d7bbf53abd67b90f6a1b1629d6ce4;p=dpkg blah^2 --- diff --git a/include/dpkg.h.in b/include/dpkg.h.in index 627e3da9..45a1b86b 100644 --- a/include/dpkg.h.in +++ b/include/dpkg.h.in @@ -203,7 +203,8 @@ void waitsubproc(pid_t pid, const char *description, int sigpipeok); typedef void (*do_fd_write_t)(char *, int, void *, char *); #define do_fd_copy(fd1, fd2, limit, desc...) read_fd_combined(fd1, (void*)fd2, FD_WRITE_FD, limit, desc) -#define read_fd_vbuf(fd1, buf, limit, desc...) read_fd_combined(fd1, buf, FD_WRITE_BUF, limit, desc) +#define read_fd_buf(fd1, buf, limit, desc...) read_fd_combined(fd1, buf, FD_WRITE_BUF, limit, desc) +#define read_fd_vbuf(fd1, buf, limit, desc...) read_fd_combined(fd1, buf, FD_WRITE_VBUF, limit, desc) int read_fd_combined(int fd, void *buf, int type, int limit, char *desc, ...); int do_fd_read(int fd1, int limit, do_fd_write_t write_proc, void *proc_data, char *desc);