📄 changelog.0
字号:
send() to (const char *). Cast the 2nd arg ot recv to (char *). * uucpd/uucpd.c: Include termios.h for decl of TIOCNOTTY on solaris. Also use O_RDWR instead of "2" in call to open().Mon Jan 13 14:06:24 1997 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to `1.2g'. * iumacros.m4 (IU_LIB_CURSES): Add --disable-ncurses option. Use _iu_curses_needs_termcap to keep the requirements of curses and ncurses separate. (_iu_curses_needs_termcap): New macro.Sat Jan 11 16:42:43 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * libinetutils/forkpty.c: sunos4 cc chokes on indented cpp directives. Put # in first column and put indentation after it. * libinetutils/openpty.c: Likewise. Also change auto variable declaration to avoid zero sized array error on sunos4 cc. * libinetutils/iruserok.c: KNRize function signatures.Fri Jan 10 14:22:18 1997 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to `1.2f'. * tftp/main.c (put, get): Use strchr rather than index. (tail): Use strrchr rather than rindex. (index, rindex): Declarations removed. * rlogind/rlogind.c (setup_term): Use strchr rather than index. * talk/get_names.c (get_names): Likewise. * tftp/tftp.c (tpacket): Likewise. <string.h>: New include. * rcp/rcp.c, tftp/tftp.c, tftpd/tftpd.c [!HAVE_STRERROR_DECL] (strerror): New declaration. * tftp/tftp.c (nak): Remove declaration of strerror. (errno): Protect declaration with !HAVE_ERRNO_DECL. * headers/acconfig.h [HAVE_STRCHR] (strchr, strrchr): New macros. [HAVE_STRCHR_DECL] (strchr, strrchr): New declarations. (HAVE_STRCHR_DECL, HAVE_STRERROR_DECL): New define slots. * configure.in (AC_CHECK_FUNCS): Add index & strchr. (strchr, strerror): New declaration tests. * libinetutils/iruserok.c (rcmd, rresvport): Functions removed. * talk/io.c (talk): Use fd_setsinstead of ints for select. (STDIN_MASK): Macro removed. <sys/types.h>: New include. * libinetutils/err.c (_VA, vwarnx, vwarn, warn, warnx, verr, verrx, err, errx): Make FORMAT const. * headers/err.h: Update prototypes to include const where appropriate. * tftpd/tftpd.c (verifyhost, errtomsg): Add const to return type. (struct errmsg): Make E_MSG field const. * tftp/tftp.c (struct errmsg): Make E_MSG field const. * syslogd/syslogd.c (cvthname, printline, printsys, logmsg, fprintlog, decode, logerror): Add const all over the place. * ftpd/ftpd.c (dolog): Add const to decl of NAME. * rshd/rshd.c (doit): Add const to decls of HOSTNAME, ERRORSTR, and ERRORHOST. (local_domain, topdomain): Add const to decl of H. * rlogind/rlogind.c (doit): Add const to decl of RAW_HOSTNAME. * syslog/syslog.c (main): If LOG_PERROR isn't defined, don't support -s option. * rlogin/rlogin.c (main, setsignal, done, lostpeer, reader, stop, writeroob): Use setsig instead of sigaction crap. (setsig): New declaration. [!_POSIX_VDISABLE] (_POSIX_VDISABLE): New macro. * libinetutils/setsig.c: New file. * libinetutils/Makefile.in (OBJS): Add setsig.o. (SRCS): Add setsig.c. * headers/syslog-int.h: New file. * headers/Makefile.in (DISTFILES): Add syslog-int.h. * syslog/syslog.c [!HAVE_SYSLOG_INTERNAL] <syslog-int.h>: New include. * syslogd/syslogd.c: Likewise. * configure.in: Add check for the special stuff in <syslog.h> enabled by defining SYSLOG_NAMES. * headers/acconfig.h (HAVE_SYSLOG_INTERNAL): New define slot. * iumacros.m4 (IO_CHECK_MACRO): Quote arguments to IU_RESULT_ACTIONS.Wed Jan 8 14:55:47 1997 Miles Bader <miles@gnu.ai.mit.edu> * rlogind/rlogind.c (setup_term): Use cfsetispeed & cfsetospeed if cfsetspeed isn't defined. * configure.in (AC_CHECK_FUNCS): Add cfsetspeed. * telnetd/sys_term.c [HAVE_SYS_TTY_H] <sys/tty.h>: Include removed. [t_erase] (t_erase, t_kill, t_intrc, t_quitc, t_startc, t_stopc, t_eofc, t_brkc, t_suspc, t_dsuspc, t_rprntc, t_flushc, t_werasc, t_lnextc): Undefs removed.Tue Jan 7 13:10:05 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * configure.in (IU_CHECK_DESC): Add checks for pclose, getpass and getusershell. Change sig_t, sig_atomic_t tests to look in signal.h, not sys/signal.h. Add check for sys/filio.h, sys/ptyvar.h and sys/sockio.h. * ftp/extern.h: Test HAVE_GETPASS_DECL. * telnet/authenc.c: Likewise. * ftp/ftp.c: Test HAVE_PCLOSE_DECL. * ftpd/extern.h: Test HAVE_GETUSERSHELL_DECL. * ftpd/ftpd.c: Change &array[x] to array+x to pacify sunos4 cc. Cast the result of alloca(). * ftpd/popen.c: Cast the result of malloc(). * headers/acconfig.h: Add slots for pclose, getpass and getusershell. * headers.crypt.h: Test HAVE_CRYPT_DECL, not HAVE_CRYPT, when deciding to declare crypt(). * libinetutils/snprintf.c: Add missing arg "ap" to calls to va_arg(). KNRize function signature of vsnprintf() and add missing format parameter. Also, check __STDC__ in addition to HAVE_STDARG_H since hpux cc has the header but does not understand elipses in function signatures by default. * libtelnet/auth.c: Test HAVE_*_H macro, not __STDC__ for headers. * libtelnet/enc_des.c: Likewise. * libtelnet/encrypt.c: Likewise. * libtelnet/kerberos.c: Likewise. * libtelnet/krb4encpwd.c: Likewise. * libtelnet/rsaencpwd.c: Likewise. * libtelnet/spx.c: Likewise. * telnetd/defs.h: Likewise. Also test HAVE_SYS_FILIO_H, not FILIO_H, and do not base include <ioctl.h> on !FILIO_H. Test and include sys/stream.h, sys/tty.h and sys/ptyvar.h. * telnet/externs.h: Likewise for filio.h stuff. * rlogin/rlogin.c: Include sys/stream.h, sys/tty.h, sys/ptyvar.h, and sys/sockio.h. * libtelnet/kerberos5.c: Don't base "const" support on __STDC__. * rshd/rshd.c: Add alloca() support and cast the result of alloca(). Also test and include sys/filio.h. * rlogind/rlogind.c: Likewise for sys/filio.h. Test and include sys/stream.h, sys/tty.h, sys/ptyvar.h, and sys/sockio.h. * rexecd/rexecd.c: Likewise for filio.h. * tftp/tftpsubs.c: Likewise. * rsh/rsh.c: Likewise. * talk/io.c: Likewise. * talkd/announce.c: Don't assume sprintf() returns int. * syslogd/syslogd.c: Likewise. Also cast the result of malloc().Tue Jan 7 15:33:14 1997 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/revoke.c: New file. (AC_REPLACE_FUNCS): Add revoke. * libinetutils/Makefile.in (SRCS): Add revoke.c. * libinetutils/login_tty.c: New file. * configure.in (AC_REPLACE_FUNCS): Add login_tty. (AC_CHECK_FUNCS): Add setsid. * libinetutils/Makefile.in (SRCS): Add login_tty.c. * paths (PATH_HEQUIV): New path (only necessary for iruserok.c). * libinetutils/iruserok.c <netinet/in.h>: New include. [HAVE_ARPA_NAMESER_H] <arpa/nameser.h>: New include. <netdb.h>: New include. (iruserok): Change _PATH_HEQUIV to PATH_HEQUIV. * configure.in (AC_CHECK_HEADERS): Add arpa/nameser.h. * libinetutils/Makefile.in (SRCS): Add iruserok.c. (CPPFLAGS): Add $(CPPFLAGS-$<) (CPPFLAGS-iruserok.c): New variable.Tue Jan 7 18:06:37 1997 Bernhard Rosenkraenzer <bero@startrek.in-trier.de> * configure.in: Check for bsd library, which enables some bsd-style functions (revoke()) under Linux (and probably a few other OSes). * iumacros.m4: Use ncurses rather than curses if possible. (fixes scrollok problem with Linux) * glob/Makefile.in (install): New dummy target to enable make install in the root directory * configure.in (AC_REPLACE_FUNCS): Add iruserok. * libinetutils/iruserok.c: New file. * Makefile.in (DISTCLEAN): Add config.cache. * libinetutils/openpty.c, libinetutils/forkpty.c: Replaced with versions that should work (NetKit-B based)Sun Jan 5 18:28:05 1997 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to `1.2e'. * configure.in: Test $inetutils_cv_macro_fd_set_macros, not $inetutils_cv_fd_set_macros. * configure.in (INCLUDES): Add protocols/talkd.h. * headers/Makefile.in (DISTFILES): Add protocols & protocols/talkd.h. * ftp/ftp.c [!HAVE_FCLOSE_DECL] (fclose): New declaration. * telnetd/sys_term.c <sys/stream.h>: Make include conditional on HAVE_SYS_STREAM_H, not STREAMS. * configure.in (AC_CHECK_HEADERS): Add sys/stream .h.Sat Jan 4 20:05:29 1997 Miles Bader <miles@gnu.ai.mit.edu> * ftpd/ftpd.c [!HAVE_FCLOSE_DECL] (fclose): New declaration. * configure.in (libresolv): New check. (sig_atomic_t): New type check. (fclose): New decl check. * headers/acconfig.h (sig_atomic_t, HAVE_FCLOSE_DECL): New define slots. * iumacros.m4 (IU_CONFIG_PATHS): Store cache variables in a temporary files so that they can be exported out of the subshell in which some shells evaluate the main loop. Instead of calling AC_C_CROSS, require AC_PROG_CC. * headers/acconfig.h (HAVE_ENVIRON_DECL): New define slot. * configure.in: Add check for declaration of ENVIRON. Add AC_PREREQ of 2.12.Fri Jan 3 17:50:51 1997 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/memset.c, libinetutils/memmove.c, libinetutils/setenv.c: New files. * headers/acconfig.h [!HAVE_MEMCPY] (memcpy): Define to use memmove. [!HAVE_BCOPY] (bcopy): Define to use memmove. [!HAVE_BZERO] (bzero): Define to use memset. [!HAVE_MEMMOVE] (bcopy): New declaration. [!HAVE_MEMSET] (memset): New declaration. * libinetutils/Makefile.in (SRCS): Add memmove.c, memset.c, & setenv.c. * configure.in (AC_REPLACE_FUNCS): Add memset. (AC_CHECK_FUNCS): Check for memcpy, bcopy, & bzero.Tue Dec 31 00:26:13 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnetd/telnetd.c (_console, cprintf): Debugging gunk removed. * libinetutils/Makefile.in (SRCS): Update to reflect directory contents. Portability changes for sunos from "Kaveh R." <ghazi@caip.rutgers.edu>: * configure.in (AC_C_CONST, AC_FUNC_ALLOCA): New tests. (AC_REPLACE_FUNCS): Add memmove & setenv. (nsl, socket): Test for these libraries. * ftpd/ftpd.c: Add alloca support. * ftpd/ftpd.c, syslogd/syslogd.c [!LINE_MAX] (LINE_MAX): New macro. * ftp/ftp.c (initconn): Don't use ansi-c string concatenation. * libinetutils/Makefile.in (OBJS): Add @ALLOCA@. * libinetutils/cleansess.c (cleanup_session): Use K&R style definition. * libinetutils/hstrerror.c (hstrerror): Use K&R style definition. * libinetutils/logout.c (logout): Use K&R style definition. * libinetutils/version.c [HAVE_CONFIG_H] <config.h>: New include. * libinetutils/err.c [!HAVE_STDARG_H] (_VA): Add missing backslashes. [!HAVE_STDARG_H] (_VA, VAS): Supply missing AP argument to va_arg. * ftp/ruserpass.c [HAVE_CONFIG_H] <config.h>: New include. * rexecd/rexecd.c (path, doit): Use PATH_ instead of _PATH_ defines. * talkd/announce.c (announce): Likewise. * talkd/process.c (find_user): Likewise. * telnetd/sys_term.c (start_login, getptyslave): Likewise. * talkd/talkd.c (main): Likewise. * telnetd/telnetd.c (telnet): Likewise. * uucpd/uucpd.c (main): Likewise. * rexecd/Makefile.in, talkd/Makefile.in (CPPFLAGS): New variable. * rlogin/rlogin.c, ftpd/ftpd.c, syslog/syslog.c, syslogd/syslogd.c, tftpd/tftpd.c <getopt.h>: New include. * syslogd/Makefile.in (CPPFLAGS): Add $(PATHDEF_LOG). * telnetd/sys_term.c: Test HAVE_UTMPX_H rather than UTMPX. * tftp/main.c <fcntl.h>: New include. * uucpd/Makefile.in (CPPFLAGS): Add $(PATHDEF_TTY). * libinetutils/version.c (inetutils_version): Change to `1.2d'. * Makefile.in (pkgdirs): Renamed from auxdirs. (SUBDIRS, SERVERS, CLIENTS, BOTH): Use $(pkgdirs) instead of $(auxdirs). (DIST_SUBDIRS): New variable. (DISTFILES): Use $(DIST_SUBDIRS) instead of $(SUBDIRS). (dist-subdirs): Use $(DIST_SUBDIRS) instead of @SUBDIRS@.Mon Dec 30 15:45:59 1996 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/version.c (inetutils_version): Change to `1.2c'. * libinetutils/login.c, libinetutils/forkpty.c: New dummy files. * libinetutils/Makefile (SRCS): Add err.c, login.c, and forkpty.c. * libinetutils/logout.c <fcntl.h>: New include. (logout): declare variable RD. * headers/acconfig.h [!HAVE_SIG_T] (sig_t): Move to top-level. * ftp/main.c (long_options, ohelp, main): Add --prompt/-p. (DEFAULT_PROMPT): New macro. (prompt): New variable. (main): If FROMATTY, default PROMPT to DEFAULT_PROMPT. (cmdscanner): Print a prompt when there is one, rather than only when on a tty. * libinetutils/version.c (inetutils_version): Change to `1.2b'. * Makefile.in (auxdirs): New variable. (SUBDIRS, SERVERS, CLIENTS, BOTH): Use $(auxdirs). (dist-subdirs): New rule. * iumacros.m4 (IU_CONFIG_PATHS): Use hairy eval construct to deal with translating @( to $( in iu_val, because some shells improperly deal with nested quotes.Fri Dec 27 23:56:25 1996 Miles Bader <miles@gnu.ai.mit.edu> * libinetutils/Makefile.in (SRCS): Add openpty.c (bogus, but...).Tue Dec 24 14:37:55 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnet/commands.c (ToggleList): Don't make entry for "termdata" dependent on `unix' being defined. * telnet/externs.h (termdata): Likewise. * telnetd/sys_term.c (startslave): Remove declaration of time(). * iumacros.m4 (IU_CONFIG_PATHS): Escape paths stored in the autoconf cache to avoid problems with the shell evaluating make variable notation, by storing `$(' as `@('. * telnet/commands.c (env_init): Use correct hostname in sprintf. * Makefile.in (DISTFILES): Add iumacros.m4. * libinetutils/version.c (inetutils_version): Change to "1.2a".Tue Nov 12 19:25:44 1996 Miles Bader <miles@gnu.ai.mit.edu> * iumacros.m4 (IU_CONFIG_PATHS): Make default iu_test_type 'r', not 'e' (which apparently isn't totally standard).Thu Oct 24 17:21:36 1996 Miles Bader <miles@gnu.ai.mit.edu> * telnet/telnet.c (init_term): Renamed from setupterm to avoid conflict with ncurses. (gettermname): Call init_term instead of setupterm.Mon Oct 21 16:21:15 1996 Miles Bader <miles@gnu.ai.mit.edu> * config.make.in (LINK_DISTFILES): Add `;' before '}'. Avoid posix sh bogosity with null for-loop.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -