Wichert Akkerman %!s(int64=25) %!d(string=hai) anos
pai
achega
cab92e3807
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      include/dpkg.h.in

+ 2 - 1
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);