📄 changelog.0
字号:
* rsh/rsh.c (try_help, help, pusage): New function. (usage): Use pusage & try_help. (warning): Use __PROGNAME. (main): Add long option handling. (long_options): New variable. "version.h": New include. * libinetutils/version.c (inetutils_package): New variable. * headers/version.h (inetutils_package): New declaration. * ftp/main.c (main): Use INETUTILS_PACKAGE. * ftpd/ftpd.c (statcmd, main): Likewise. * telnet/main.c (main): Likewise. (help): Add program description. * ftpd/ftpd.c (inetutils_version): Declaration removed. "version.h": New include. Fri Sep 27 13:07:03 1996 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_bugaddr): New variable. (inetutils_version): Get rid of package name. Change to version 1.3. * ftp/main.c (main): Supply program name when printing the version, and use INETUTILS_VERSION as only the version number. * ftpd/ftpd.c (main, statcmd): Likewise. * ftp/main.c (ohelp): Add bug reporting address. * telnet/main.c (help): Likewise. * headers/version.h (inetutils_bugaddr): New declaration.Tue Sep 24 19:16:34 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnetd/telnetd.c (telnet): Restore #if accidentally deleted when removing debugging printfs. * headers/crypt.h: Use crypt unconditionally if HAVE_CRYPT is defined.Fri Aug 30 11:47:44 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnetd/telnetd.c (telnet): Remove unecessary debugging printfs.Wed Aug 21 12:42:28 1996 Miles Bader <miles@gnu.ai.mit.edu> * configure.in (enable_talk): Define `HAVE_OSOCKADDR_H' if we supply that include file. * headers/acconfig.h (HAVE_OSOCKADDR): Define slot removed. (HAVE_OSOCKADDR_H): New define slot. * talkd/talkd.c <osockaddr.h>: Conditionalize on HAVE_OSOCKADDR_H instead of !HAVE_OSOCKADDR.Tue Aug 20 19:55:32 1996 Miles Bader <miles@gnu.ai.mit.edu> * headers/Makefile.in (DISTFILES): Add err.h.Fri Aug 16 00:49:23 1996 Miles Bader <miles@gnu.ai.mit.edu> * Makefile.in (DISTFILES): Add TODO. * tftp/main.c (get_args): New function. (setpeer, put, get, setrexmt, settimeout): Use get_args. (command): Use fgets instead of gets. * Makefile.in (dist): Remove dependency on $(DISTFILES). (DISTFILES): Add $(SUBDIRS). Remove glob & glob/*. (dist-prepare): Don't make subdirectories explicitly. Link or copy package directories as a unit into the distribution. (DISTPACKAGES): New variable. * headers/Makefile.in (DISTFILES): Add confpaths.h.in. * headers/crypt.h [__GNUC__] (CRYPT): Use alternate definition to avoid apparent gcc bug with weak refs and ?: operator. * ftpd/ftpd.c (try_login): New function, guts from `pass'. (pass): Call try_login. (user): Always ask for a password for an uknown user. Call try_login directly if a known user with no password. * headers/Makefile.in (DISTFILES): Remove iupaths.h.Thu Aug 15 22:29:46 1996 Miles Bader <miles@gnu.ai.mit.edu> * uucpd/uucpd.c (dologin, dologout): Always use logwtmp now. <utmp.h>: Include removed. (struct utmp): Type removed. (dologout): Check HAVE_WAIT3 instead of BSDINETD. * ftpd/ftpd.c (end_login, pass, dologout): Use logwtmp_keep_open. * ftpd/Makefile.in (SRCS): Remove logwtmp.c. * logwtmp.c: File removed. * configure.in: Add check for errno being declared. * libinetutils/logwtmp.c [!HAVE_ERRNO_DECL] (errno): New decl. [HAVE_ERRNO_H] <errno.h>: New [KEEP_OPEN] Add code to define `logwtmp_keep_open' version. * libinetutils/logwtmp.c <sys/fcntl.h>: New include. * libinetutils/Makefile.in (CPPFLAGS): Add $(PATHDEF_WTMP) and $(PATHDEF_UTMP). (SRCS): Add logwtmpko.c. (OBJS): Add logwtmpko.o. * logwtmpko.c: New file. * headers/acconfig.h (HAVE_STAT_ST_MTIMESPEC): Renamed from HAVE_ST_TIMESPEC. (HAVE_STAT_ST_MTIME_USC): Renamed from HAVE_ST_TIME_USEC. (HAVE_ATTR_WEAK_REFS, HAVE_UTMP_UT_TYPE, HAVE_UTMP_UT_HOST, HAVE_UTMP_UT_TV): New define slots. * headers/crypt.h: Replace HAVE_WEAK_REFS with HAVE_ATTR_WEAK_REFS, and test for any of the three with HAVE_WEAK_REFS. * configure.in (sys_glob): Add checks for ut_type, ut_host, and ut_tv fields in struct utmp. (AC_CHECK_HEADERS): Add utmp.h & utmpx.h. (AC_CHECK_FUNCS): Add flock, ftruncate, wait3. * libinetutils/logwtmp.c (_logwtmp): Close FD after use. * ftpd/logwtmp.c: Replace with version derived from libinetutils. * rcp/rcp.c (write_stat_time): Replace HAVE_ST_TIME* with HAVE_STAT_ST_MTIME* (as generated by new configure rules).Thu Aug 8 02:37:15 1996 Miles Bader <miles@gnu.ai.mit.edu> * iumacros.m4: New file. * configure.in: Use macros from iumacros.m4. Rearrange to be more clear, and add lots of comments. Check for libutils functions in libutil if it exists.Wed Aug 7 15:24:45 1996 Miles Bader <miles@gnu.ai.mit.edu> * configure.in (AC_CHECK_FUNCS): Remove strdup & logwtmp. (AC_REPLACE_FUNCS): Add strdup, logout, & logwtmp. * libinetutils/logout.c, libinetutils/logwtmp.c, libinetutils/cleansess.c, libinetutils/strdup.c: New files. * libinetutils/Makefile.in (SRCS): Add strdup.c, logout.c, logwtmp.c, & cleansess.c. (OBJS): Add cleansess.o. * ftp/cmds.c [!HAVE_STRDUP] (strdup): Function removed. * ftpd/logwtmp.c [!PATH_WTMP && WTMP_FILE] (PATH_WTMP): Macro removed. * rlogind/rlogind.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H] <sys/time.h>: New include. * configure.in: Rework format of path configuration file. * headers/acconfig.h: Include <confpaths.h> at end. * headers/confpaths.h.in: Renamed from iu_paths.h. * paths: Change format of entries. * libinetutils/Makefile.in (CPPFLAGS): New variable. * libinetutils/daemon.c, libinetutils/ttymsg.c, rexecd/rexecd.c, talkd/announce.c, talkd/process.c, talkd/talkd.c, uucpd/uucpd.c <paths.h>: Include removed. * ftp/cmds.c, ftpd/ftpd.c, ftpd/logwtmp.c, inetd/inetd.c, rcp/rcp.c, rcp/util.c, rlogind/rlogind.c, rsh/rsh.c, rshd/rshd.c, syslogd/syslogd.c, telnetd/sys_term.c, telnetd/telnetd.c <iu_paths.h>: Include removed. * Makefile.in (DISTCLEAN): Add pathdefs.make and paths.defs.Tue Aug 6 01:44:37 1996 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to 1.2. * paths: New file. * configure.in: Add huge wodge of code to parse the `paths' file and produce pathdefs.make and paths.defs. * Makefile.in (DISTFILES): Add paths. * config.make.in: Put @PATHDEFS_MAKE@ at the end. * headers/iu_paths.h: New file. * headers/Makefile.in (DISTFILES): Add iu_paths.h & remove paths.h. * inetd/Makefile.in, telnetd/Makefile.in, ftpd/Makefile.in, syslogd/makefile.in, rsh/Makefile.in, rlogind/Makefile.in, rcp/Makefile.in (CPPFLAGS): Use $(PATHDEF_...) variables. * inetd/inetd.c, ftp/cmds.c, telnetd/telnetd.c, telnetd/sys_term.c, syslogd/syslogd.c, rshd/rshd.c, rlogind/rlogind.c, rcp/util.c <iu_paths.h>: Changed from <paths.h>. * rsh/rsh.c, rcp/rcp.c <iu_paths.h>: New include. * inetd/inetd.c (CONFIG): Initialize from PATH_INETDCONF. * ftp/Makefile.in, rshd/Makefile.in (CPPFLAGS): New macro. * syslogd/syslogd.c (LogName, ConfFile, PidFile, ctty, main, wallmsg): Use PATH_* macros instead of _PATH_* ones. * ftp/cmds.c (remglob, shell): Likewise * rsh/rsh.c (main): Likewise. * rshd/rshd.c (doit): Likewise. * rlogind/rlogind.c (doit, cleanup): Likewise. * rcp/util.c (susystem): Likewise. * rcp/rcp.c (toremote, tolocal): Likewise. * telnetd/sys_term.c (start_login): Likewise. Mon Aug 5 00:23:07 1996 Miles Bader <miles@gnu.ai.mit.edu> * configure.in: Check to see if the fd_set macros are defined by <sys/time.h> rather than <sys/types.h> (!). * headers/acconfig.h (HAVE_FD_SET_MACROS_IN_SYS_TIME_H): New def slot. * rsh/rsh.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H] <sys/time.h>: New inc. * talk/init_disp.c (init_display): Use sigaction or sigvec as appr. * configure.in: Include $LIBTERMCAP in LIBCURSES if necessary. * rlogin/rlogin.c (oob): Only use TIOCFLUSH if it's defined. (writer): Only check VDSUSP if it's defined. * talkd/announce.c <sgtty.h>: Include removed. * rsh/rsh.c: [HAVE_STDARG_H] <stdarg.h>: New include. [!HAVE_STDARG_H] <varargs.h>: Conditionalize include. * libinetutils/hstrerror.c: New file. * libinetutils/Makefile.in (SRCS): Add strerror.c & hstrerror.c. * headers/acconfig.h (HAVE_H_ERRLIST_DECL): New define slot. * configure.in: Check for hstrerror, and various things to provide a replacement if it doesn't exist. * syslogd/syslogd.c (cfline): Declare hstrerror. * rlogind/rlogind.c [!TTYDEF_IFLAG] (TTYDEF_IFLAG), [!TTYDEF_OFLAG] (TTYDEF_OFLAG), [!TTYDEF_LFLAG] (TTYDEF_LFLAG): New macros. * rshd/rshd.c (doit): Use setpgid instead of setpgrp. * uucpd/uucpd.c (dologin): Only write lastlog if HAVE_STRUCT_LASTLOG. * configure.in: Add check for struct lastlog in <utmp.h>. * headers/acconfig.h (HAVE_STRUCT_LASTLOG): New define slot. * daemon.c: New file. libinetutils/Makefile.in (SRCS): Add daemon.c. * configure.in (AC_REPLACE_FUNCS): New test, for daemon. * configure.in: Check whether crypt is declared in <unistd.h>. (AC_CHECK_FUNCS): Add sigvec & sigaction. * inetd/inetd.c (main): Use sigaction, sigvec, or signal as appropriate. * rlogin/rlogin.c (main): Likewise. * headers/acconfig.h (HAVE_CRYPT_DECL): New define slot. * headers/crypt.h: If there's a system decl for crypt, use an ambiguous argument signature (`()') to avoid conflicting with it. * ftpd/ftpd.c (send_file_list): Test for '\0' in name rather than looking at DIR's d_namlen field (which doesn't exist on all systems). (retrieve, store): Use SEEK_* macros instead of L_*. [!LOG_FTP] (LOG_FTP): New macro. (version): Variable removed. (main, statcmd): Use INETUTILS_VERSION instead of VERSION. * configure.in: Add tests for SEEK_* macros and L_* macros, defining the SEEK_* ones if they don't already exists. * headers/acconfig.h (SEEK_SET, SEEK_CUR, SEEK_END): New define slots. * tftpd/tftpd.c [!LOG_FTP] (LOG_FTP): New macro. * telnetd/sys_term.c (tty_linemode): If EXTPROC isn't defined, always return false (we can't set linemode either in this case). * telnetd/telnetd.c (telnet): Only use TIOCPKT_IOCTL if it's defined. * telnet/externs.h: Prefer termios if both <termios.h> & <termio.h> exist. Move define of `termio' to `termios' outside of file-already- included test, as sometimes the file's already been included. * ftp/ruserpass.c: Include <stdarg.h> or <varargs.h> before including <err.h> (which needs va_list). (localhost): New declaration. * ftp/ftp.c [!HAVE_HSTRERROR] (hookup): Add grot to print error message for h_errno, using herror.Sun Aug 4 23:00:29 1996 Miles Bader <miles@gnu.ai.mit.edu> * ftp/cmds.c (site_idle): Renamed from `idle' to avoid conflict with linux <unistd.h>. * ftp/extern.h: Likewise. (command): Add arg decls to prototype. * ftp/cmdtab.c (cmdtab): Change entry for "idle" to use site_idle. * ftp/ftp.c [HAVE_STDARG_H] <stdarg.h>: New include. [!HAVE_STDARG_H] <varargs.h>: Conditionalize include. (command): Make work with either <stdarg.h> or <varargs.h>. * configure.in (AC_CHECK_HEADERS): Add glob.h. Check for system glob, and config in our own if necessary. * Makefile.in (SUBDIRS, SERVERS, CLIENTS, BOTH): Add @subdirs@, the autoconf-supplied list of sub-configured directories. (DISTFILES): Add `glob' and `glob/*' (ick, but what else can be done without modifying glob?). * ftp/Makefile.in, ftpd/Makefile.in (LDLIBS): Add $(LIBGLOB). * config.make.in (LIBGLOB): New variable. * headers/Makefile.in (DISTFILES): Add paths.h.Wed Jul 31 14:49:18 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnet/main.c (help): Shorten description for -l/--user. * configure.in: Add a check for various types of weak reference. Add crypt.h to INCLUDES. * headers/acconfig.h (HAVE_WEAK_REFS, HAVE_PRAGMA_WEAK_REFS, HAVE_ASM_WEAK_REFS): New define slots. * headers/crypt.h: New file. * headers/Makefile.in (DISTFILES): Add crypt.h. * ftpd/ftpd.c (pass): Use CRYPT instead of crypt. * libtelnet/krb4encpwd.c (passwdok): Likewise. * libtelnet/rsaencpwd.c (rsaencpwd_passwdok): Likewise. * rexecd/rexecd.c (doit): Likewise. * uucpd/uucpd.c (doit): Likewise * ftpd/ftpd.c, libtelnet/krb4encpwd.c, libtelnet/rsaencpwd.c, rexecd/rexecd.c, uucpd/uucpd.c <crypt.h>: New include.Tue Jul 30 18:36:11 1996 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to 1.1. * configure.in (AC_CHECK_FUNCS): Check for crypt. Check for EWOULDBLOCK. * ftpd/ftpd.c (pass): Only call crypt if HAVE_CRYPT defined. * libtelnet/krb4encpwd.c (passwdok): Likewise * libtelnet/rsaencpwd.c (passwdok): Likewise. * rexecd/rexecd.c (doit): Likewise. * uucpd/uucpd.c (doit): Likewise. * headers/acconfig.h (EWOULDBLOCK): New define slot.Sat Jul 27 11:32:13 1996 Miles Bader <miles@gnu.ai.mit.edu> * uucpd/uucpd.c [!HAVE_LOGWTMP] (dologin): Supply name to copy in wtmp. * rlogind/rlogind.c <getopt.h>: New include. (fatal): Don't depend on sprintf returning a count. * telnetd/defs.h: Prefer termios if <termios.h> & <termio.h> exist. * inetd/inetd.c <getopt.h>: New include. (line): Define with a size of 2048 if LINE_MAX isn't defined.Fri Jul 26 09:06:41 1996 Miles Bader <miles@gnu.ai.mit.edu> * headers/Makefile.in (DISTFILES): Add `arpa' (the directory). * config.make.in (_LINK_DISTFILE): Copy directories too.Wed Jul 24 01:36:15 1996 Miles Bader <miles@gnu.ai.mit.edu> * config.make.in (_LINK_DISTFILE): Copy into $(DISTDIR)/$$FILE. (LINK_DISTFILES): Always set $$FILE as well as $$DISTFILE before using $(_LINK_DISTFILE).Tue Jul 23 22:59:49 1996 Miles Bader <miles@gnu.ai.mit.edu> * Makefile.in: Use dependencies instead of shell loops for
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -