=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/Attic/os-openbsd.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/rdist/Attic/os-openbsd.h 2002/05/09 19:13:02 1.11 +++ src/usr.bin/rdist/Attic/os-openbsd.h 2003/05/14 01:34:35 1.12 @@ -33,11 +33,11 @@ */ /* - * $OpenBSD: os-openbsd.h,v 1.11 2002/05/09 19:13:02 millert Exp $ + * $OpenBSD: os-openbsd.h,v 1.12 2003/05/14 01:34:35 millert Exp $ */ /* - * TEMPLATE os-*.h file + * OpenBSD os-*.h file */ /* @@ -63,9 +63,6 @@ * Determine what routines we have to get filesystem info. */ #define FSI_TYPE FSI_GETFSSTAT -#ifndef FSTYPENAME -#define FSTYPENAME 1 /* use f_fstypename */ -#endif /* * Type of non-blocking I/O. @@ -92,9 +89,14 @@ /* * Select the type of statfs() system call (if any). */ -#define STATFS_TYPE STATFS_BSD +#define STATFS_TYPE STATFS_44BSD /* + * Use f_fstypename in struct statfs. + */ +#define HAVE_FSTYPENAME 1 + +/* * Type of arg functions we have. */ #define ARG_TYPE ARG_STDARG @@ -128,23 +130,31 @@ /* * Type of set line buffering function available */ -#define SETBUF_TYPE SETLINEBUF +#define SETBUF_TYPE SETBUF_SETLINEBUF /* * Things we have */ #define HAVE_FCHOWN /* Have fchown() */ +#define HAVE_LCHOWN /* Have lchown() */ #define HAVE_FCHMOD /* Have fchmod() */ +#define HAVE_FTRUNCATE /* Have ftruncate() */ #define HAVE_SELECT /* Have select() */ #define HAVE_SAVED_IDS /* Have POSIX style saved [ug]id's */ +#define HAVE_VIS /* Have vis() */ +#define HAVE_VSNPRINTF /* Have vsnprintf() */ #define POSIX_SIGNALS /* Have POSIX signals */ #define HAVE_PATHS_H /* Have */ /* - * Things we need + * Path to old-style rdist command */ -#define NEED_UNISTD_H /* Need */ -#define NEED_STRING_H /* Need */ +#define _PATH_OLDRDIST "/usr/bin/oldrdist" + +/* + * Path to remote shell command + */ +#define _PATH_REMSH "/usr/bin/ssh" /* * Use the system