config.isc
上传用户:zibowangxu
上传日期:2007-01-04
资源大小:331k
文件大小:2k
- /****************************************************************************
- Copyright (c) 1999 WU-FTPD Development Group.
- All rights reserved.
-
- Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
- The Regents of the University of California.
- Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
- Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
- Portions Copyright (c) 1989 Massachusetts Institute of Technology.
- Portions Copyright (c) 1998 Sendmail, Inc.
- Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
- Portions Copyright (c) 1997 by Stan Barber.
- Portions Copyright (c) 1997 by Kent Landfield.
- Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
- Free Software Foundation, Inc.
-
- Use and distribution of this software and its source code are governed
- by the terms and conditions of the WU-FTPD Software License ("LICENSE").
-
- If you did not receive a copy of the license, it may be obtained online
- at http://www.wu-ftpd.org/license.html.
-
- $Id: config.isc,v 1.9 1999/10/01 02:14:52 wuftpd Exp $
-
- ****************************************************************************/
- /*
- ** Interactive Unix configuration
- */
- #ifdef ISC
- #include <sys/bsdtypes.h>
- #include <net/errno.h>
- #include <limits.h>
- #define DONT_HAVE_FTRUNCATE
- #define DONT_HAVE_VFORK
- #define HAVE_FCNTL_H
- #undef LOG_LOCAL7
- #define HAVE_VPRINTF
- #define HAVE_GETCWD
- #define HAVE_DIRENT_H
- #define HAVE_FTW
- #define NBBY 8
- #define _PATH_UTMP "/etc/utmp"
- #define _PATH_WTMP "/etc/wtmp"
- #if !defined(USE_ETC_FTPD) && !defined(USE_LOCAL_ETC) && !defined(USE_OPT_FTPD)
- #define USE_ETC
- #endif
- #endif
- #define SPT_TYPE SPT_REUSEARGV
- #ifndef MAXPATHLEN
- #define MAXPATHLEN 1024
- #endif
- #ifdef DONT_HAVE_GID_T
- typedef int gid_t;
- #endif
- #ifdef DONT_HAVE_PID_T
- typedef int pid_t;
- #endif
- #ifdef DONT_HAVE_UID_T
- typedef int uid_t;
- #endif
- #ifndef S_ISDIR
- #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
- #endif
- #ifndef S_ISREG
- #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
- #endif
- #ifndef SIG_BLOCK
- #define SIG_BLOCK 0
- #endif
- #ifndef SIG_UNBLOCK
- #define SIG_UNBLOCK 1
- #endif
- #ifndef SIG_SETMASK
- #define SIG_SETMASK 2
- #endif
- #ifndef SIGNAL_TYPE
- #define SIGNAL_TYPE void *
- #endif
- #define vfork fork
- #define const
- #ifndef NGROUPS_MAX
- #define NGROUPS_MAX 16
- #endif
- #include "../src/config.h"