minor updates

This commit is contained in:
Andrew Tridgell committed 1997-07-10 01:12:36 +00:00
1 parent 774ef68f00
commit 773f2bd47f
4 files changed
+11 -3

No files matched your search

+3 -2
View File
@@ -96,6 +96,7 @@ AVAILABILITY
The main ftp site for rsync is ftp://samba.anu.edu.au/pub/rsync
A european mirror of this directory is available at
ftp://sunsite.auc.dk/pub/unix/rsync
Mirrors are available at:
ftp://sunsite.auc.dk/pub/unix/rsync
ftp://ftp.sunet.se/pub/unix/admin/rsync
+1 -1
View File
@@ -15,7 +15,7 @@ AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h unistd.h utime.h grp.h)
AC_CHECK_HEADERS(compat.h sys/param.h ctype.h sys/wait.h sys/ioctl.h)
AC_CHECK_HEADERS(sys/filio.h string.h stdlib.h)
AC_CHECK_HEADERS(sys/filio.h string.h stdlib.h sys/mode.h)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
+5
View File
@@ -140,6 +140,11 @@
#include <sys/select.h>
#endif
#ifdef HAVE_SYS_MODE_H
/* apparently AIX needs this for S_ISLNK */
#include <sys/mode.h>
#endif
#ifdef HAVE_FNMATCH
#include <fnmatch.h>
#else
+2
View File
@@ -131,6 +131,8 @@ int piped_child(char **command,int *f_in,int *f_out)
fprintf(FERROR,"Failed to dup/close : %s\n",strerror(errno));
exit_cleanup(1);
}
if (to_child_pipe[0] != STDIN_FILENO) close(to_child_pipe[0]);
if (from_child_pipe[1] != STDOUT_FILENO) close(from_child_pipe[1]);
execvp(command[0], command);
fprintf(FERROR,"Failed to exec %s : %s\n",
command[0],strerror(errno));