config.bdi
上传用户:zibowangxu
上传日期:2007-01-04
资源大小:331k
文件大小:3k
- /****************************************************************************
- 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.bdi,v 1.13 1999/10/04 15:49:00 wuftpd Exp $
-
- ****************************************************************************/
- /*
- ** Configuration for BSD/OS
- */
- #define HAVE_LSTAT
- #undef HAVE_DIRENT_H
- #undef HAVE_D_NAMLEN
- #define HAVE_FLOCK
- #undef HAVE_FTW
- #define HAVE_GETCWD
- #undef HAVE_GETDTABLESIZE
- #undef HAVE_PSTAT
- #define HAVE_REGEX_H
- #define HAVE_ST_BLKSIZE
- #undef HAVE_SYSINFO
- #define HAVE_UT_UT_HOST
- #define HAVE_VPRINTF
- #define HAVE_SNPRINTF
- #define HAVE_SETREUID
- #define HAVE_SYSCONF
- #define NO_CRYPT_PROTO
- #define HAVE_REGEXEC
- #undef SHADOW_PASSWORD
- #undef USG
- #if !defined(USE_ETC_FTPD) && !defined(USE_LOCAL_ETC) && !defined(USE_OPT_FTPD)
- #define USE_ETC
- #endif
- #define USE_VAR
- #define USE_LOG
- #define VAR_RUN
- #define VIRTUAL
- #include <paths.h>
- #include <sys/param.h>
- #include <stdlib.h>
- #include <unistd.h>
- typedef void SIGNAL_TYPE;
- #if defined(_BSDI_VERSION)
- #if _BSDI_VERSION >= 199501
- #ifndef FACILITY
- #define FACILITY LOG_FTP
- #endif
- #endif
- #if _BSDI_VERSION >= 199312
- /* version 1.1 or later */
- #undef SPT_TYPE
- #define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */
- #else
- /* version 1.0 or earlier */
- #define SPT_PADCHAR ' ' /* pad process title with nulls */
- #endif
- #if _BSDI_VERSION >= 199701 /* Version 3.0 or later */
- #define BSD_AUTH
- #endif
- #endif
- #ifndef FACILITY
- #define FACILITY LOG_DAEMON
- #endif
- #include "../config.h"
- #ifdef HOST_ACCESS
- #undef HOST_ACCESS
- #endif
- #define BSDI
- #define QUOTA_INODE
- #define QUOTA
- #define HAVE_GLOB_H
- #define L_FORMAT "qd"
- #define T_FORMAT "ld"