diff options
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r-- | usr.bin/rdist/defs.h | 2 | ||||
-rw-r--r-- | usr.bin/rdist/docmd.c | 4 | ||||
-rw-r--r-- | usr.bin/rdist/expand.c | 2 | ||||
-rw-r--r-- | usr.bin/rdist/server.c | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/rdist/defs.h b/usr.bin/rdist/defs.h index e23ae6f..8e4f381 100644 --- a/usr.bin/rdist/defs.h +++ b/usr.bin/rdist/defs.h @@ -34,13 +34,13 @@ */ #include <sys/param.h> -#include <sys/dir.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/file.h> #include <netinet/in.h> +#include <dirent.h> #include <errno.h> #include <pwd.h> #include <grp.h> diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c index e941d78..ebc6470 100644 --- a/usr.bin/rdist/docmd.c +++ b/usr.bin/rdist/docmd.c @@ -34,7 +34,7 @@ #ifndef lint /*static char sccsid[] = "From: @(#)docmd.c 8.1 (Berkeley) 6/9/93";*/ static const char rcsid[] = - "$Id: docmd.c,v 1.4 1996/07/12 04:00:13 nate Exp $"; + "$Id: docmd.c,v 1.5 1996/08/10 07:54:12 peter Exp $"; #endif /* not lint */ #include "defs.h" @@ -512,7 +512,7 @@ rcmptime(st) struct stat *st; { register DIR *d; - register struct direct *dp; + register struct dirent *dp; register char *cp; char *otp; int len; diff --git a/usr.bin/rdist/expand.c b/usr.bin/rdist/expand.c index 4d1819b..142e086 100644 --- a/usr.bin/rdist/expand.c +++ b/usr.bin/rdist/expand.c @@ -296,7 +296,7 @@ matchdir(pattern) char *pattern; { struct stat stb; - register struct direct *dp; + register struct dirent *dp; DIR *dirp; dirp = opendir(path); diff --git a/usr.bin/rdist/server.c b/usr.bin/rdist/server.c index a511174..e3a12fb 100644 --- a/usr.bin/rdist/server.c +++ b/usr.bin/rdist/server.c @@ -306,7 +306,7 @@ sendf(rname, opts) int sizerr, f, u, len; off_t i; DIR *d; - struct direct *dp; + struct dirent *dp; char *otp, *cp; extern struct subcmd *subcmds; static char user[15], group[15]; @@ -1184,7 +1184,7 @@ clean(cp) register char *cp; { DIR *d; - register struct direct *dp; + register struct dirent *dp; struct stat stb; char *otp; int len, opts; @@ -1258,7 +1258,7 @@ removeit(stp) struct stat *stp; { DIR *d; - struct direct *dp; + struct dirent *dp; register char *cp; struct stat stb; char *otp; |