📄 changelog.0
字号:
Sat Nov 05 08:35:25 1994 Jim Meyering (meyering@comco.com) * Version 1.12.Fri Nov 04 06:01:00 1994 Jim Meyering (meyering@comco.com) * Version 1.11.Wed Nov 02 18:52:20 1994 Jim Meyering (meyering@comco.com) * doc/Makefile.in (install): Remove test for existence of info file. Simply change to $(srcdir) instead.Wed Oct 26 23:40:07 1994 Jim Meyering (meyering@comco.com) * safe-xstat.hin [EINTR]: Always define safe_l?stat. Define it __static -- which is `static' for most includers, but `/* empty */' for safe-xstat.cin. * safe-xstat.cin: Define __static to nothing so we get public safe_l?stat functions in the library. * Makefile.in (All actions invoking $(MAKE) from within compound (e.g. `for') sh statements): Exit non-zero if the sub-make fails. Otherwise, the top-level make may exit successfully when it should fail. From Jim Kingdon (kingdon@cygnus.com).Sun Oct 23 23:36:26 1994 Jim Meyering (meyering@comco.com) * safe-xstat.hin: Don't use a statement expression here. Use an inline function instead. * safe-xstat.cin: Don't duplicate the definition of safe_l?stat here. Get the definition from safe-xstat.hin.Fri Oct 21 00:57:23 1994 Jim Meyering (meyering@comco.com) * man/Makefile.in: Fix typo that had su.1 being installed as `man/man1/.1'. From Kjetil Torgrim Homme. * basename.c, dirname.c, expr.c, pathchk.c, sleep.c (main): Diagnose wrong number of argument -- usually too few -- instead of just referring the user to the --help option. Reported by Karl Berry.Mon Oct 17 23:55:41 1994 Jim Meyering (meyering@comco.com) * doc/Makefile.in (install): Install the info files from either the source directory or the object directory. From Ian Lance Taylor (ian@cygnus.com).Sun Oct 16 12:14:02 1994 Jim Meyering (meyering@comco.com) * lib/Makefile.in (distclean): Don't delete getdate.c and posixtm.c here since they are not distributed. (realclean): Delete them here instead. From Francois Pinard.Mon Oct 10 21:44:42 1994 Jim Meyering (meyering@comco.com) * id.c (print_group_list, print_full_info): Use more precise feature tests. Rather than assuming that a definition for NGROUPS_MAX implies the existence of the getgroups function, test for HAVE_GETGROUPS explicitly. * su.c (log_su): Likewise. Similarly, check HAVE_INITGROUPS. Both from Kaveh Ghazi. He reported that a Pyramid 9820 OSx 5.0d (Dual universe SVR3/BSD4.2) system had NGROUPS_MAX and syslog.h but not getgroups, initgroups or the syslog functions.Fri Oct 07 19:42:35 1994 Jim Meyering (meyering@comco.com) * doc/Makefile.in (sh-utils.dvi): Depend on version.texi. * version.texi: Use RELEASEDATE, not RELEASE_DATE. * sh-utils.texi: Likewise. * configure.in: Test for crypt in -lcrypt for NetBSD. Reported by Greg Hudson (ghudson@mit.edu). * system.h: Don't define lstat. safe-l?stat.h does that now.Thu Oct 06 21:14:07 1994 Jim Meyering (meyering@comco.com) * src/Makefile.in (link_command): Remove $(CFLAGS). Because the default value usually includes -g, Linux users were getting statically linked executables. With this removal they'll get much smaller, dynamically linked ones by default. * lib/Makefile.in (safe-lstat.o): Depend on safe-stat.h, too.Sun Oct 02 16:15:32 1994 Jim Meyering (meyering@comco.com) * src/Makefile.in: Don't use binprefix. Use autoconf-2's @program_transform_name@ instead. * man/Makefile.in: Likewise for manprefix. * safe-xstat.hin [!S_ISLNK]: Include safe-stat.h and define SAFE_LSTAT and safe_lstat to their symlink-ignorant counterparts. * lib/Makefile.in (extract_lstat, extract_stat): Add sed rules to extract the new cpp directives into safe-lstat.h, but not into safe-stat.h.Sat Oct 01 00:14:10 1994 Jim Meyering (meyering@comco.com) * system.h: Remove conditional definition of mode_t. configure takes care of this now. * configure.in: Add -l$lib (not $lib) to LIBS when checking for syslog. From Kaveh Ghazi. * date.c (batch_convert): Use K&R style function definition. From Kaveh Ghazi. * date.c (main): When reading dates from a file with a +FORMAT-style user-specified format, don't print the leading `+'. Franc,ois Pinard noticed this problem. Make an error message clearer. From Franc,ois. * lib/Makefile.in (DISTFILES): Add getline.h. (SOURCES, OBJECTS): Add getline.c, getline.o. * safe-xstat.hin: Don't include <sys/types.h> or <sys/stat.h>. Otherwise, we'd lose when the includer has already included <sys/stat.h> on systems that aren't protected against multiple inclusion. Add a note that those headers must be included before this one. Don't include <config.h> either. * safe-xstat.cin: Include <sys/types.h> and <sys/stat.h> here instead. Include <config.h> here, too. Kaveh Ghazi reported this problem.Fri Sep 30 22:40:21 1994 Jim Meyering (meyering@comco.com) * date.c (main): Accept new option: (-f) --file=datefile. (batch_convert): New function. Suggested by Karl Berry. * date.c (main): Diagnose use of conflicting options. Revamp non-option argument processing. Detect write errors. * lib/*.c, src/*.c: Remove CONFIG_BROKETS conditional. * lib/Makefile.in src/Makefile.in: Don't define it. configure.in (AC_CHECK_FUNCS): Add getcwd. From Kaveh Ghazi. * safe-xstat.c.in, safe-xstat.h.in: Rename to safe-xstat.cin and safe-xstat.hin so the names don't exceed the 14-character limit. Reported by Kaveh Ghazi.Mon Sep 26 19:49:40 1994 Jim Meyering (meyering@comco.com) * configure.in: Don't use $su_cv_sys_tiocgwinsz_in_termios_h uninitialized. From R. Bernstein <rocky@panix.com> and Kaveh Ghazi. (NICE_PRIORITY): Fix typo that caused omission from PROGS of nice and nohup on systems with nice but not setpriority. From Andreas Schwab.Sat Sep 24 10:13:00 1994 Jim Meyering (meyering@comco.com) * Makefile.in (stamp-h.in): Create using echo, not date. Using the latter could easily lead to rcs/cvs merge conflicts. * configure.in (stamp-h): Ditto, though this is less important because stamp-h isn't distributed. * nice.c (main): Revamp option processing to detect options like `--7' manually and pass the rest off to getopt_long. (isinteger): Use ISDIGIT. Use parse_long_options. * system.h: Include <ctype.h> and add IS* macros. * expr.c: Don't include <ctype.h> or define IS* macros since system.h now does that. * printf.c: Ditto. * date.c (usage): Add description of numeric modifiers. * printf.c (print_formatted): Declare DIREC_LENGTH size_t, not int. (print_esc_string): Ditto for LENGTH. * dirname.c (main): Cast string literal to (char*). * stty.c (wrapf): Declare first argument const char *. * tee.c (main, tee): More const dcls and casting. * who.c (read_utmp): New variable: size to avoid type warnings. All of these eliminate compilation warnings reported by Franc,ois Pinard. * doc/Makefile.in (DISTFILES): Add version.texi because generating that file now depends on having a version of date that can handle formats like `+%Y %B'. (version.texi): Generate RELEASE_DATE, too. * sh-utils.texi: Use RELEASE_DATE instead of hard-coded date. * long-options.h: Prepend underscores to arg names in prototype to avoid warnings about shadowing. * src/Makefile.in: Add dependencies on long-options.h. * configure.in: Make having autoconf-1.120 a prerequisite. * sh-utils.texi [INFO-DIR-ENTRY]: Add an entry for each `invoking' node. Regularize punctuation, indexing, and xrefs. From Franc,ois Pinard. * date.c (usage): Tweak the usage message a little. Add `const' to more dcls. * stty.c: Add `const' to more dcls. * su.c: Ditto. * who.c: Ditto. * tee.c (main): Use _POSIX_SOURCE, not _POSIX_VERSION.Sat Sep 17 15:48:10 1994 Jim Meyering (meyering@comco.com) * (doc): New subdirectory with texinfo documentation. Thanks to Franc,ois Pinard and Karl Berry! Note however that it contains mainly the information from the `man' pages, so it is not good documentation. But this way, at least we don't have to maintain the troff man pages anymore. * su.c: Test !HAVE_ENDGRENT and !HAVE_ENDPWENT rather than _POSIX_SOURCE to determine whether endgrent and endpwent should be defined away. * configure.in (AC_CHECK_FUNCS): Add endgrent and endpwent. * who.c: Test HAVE_SYS_PARAM_H rather than _POSIX_SOURCE to determine whether <sys/param.h> should be included. * date.c (main): Rewrite command-line argument handling code to give diagnostics for inconsistent options. * Makefile.in: Restructure dependencies using local-* and recursive-* targets to avoid evil double-colon rules. Although the actions assiciated with double-colon rules are run sequentially using GNU make-3.71, POSIX doesn't guarantee that behavior. The next release may run them in parallel. Running the old rules in parallel would sometimes delete config.status before it was used in a subdirectory make. With several suggestions from Franc,ois Pinard.Thu Sep 15 19:10:51 1994 Jim Meyering (meyering@comco.com) * stty.c [VWERSE && !VWERASE]: Define VWERASE for AIX-3.2.5.Sat Sep 03 00:41:53 1994 Jim Meyering (meyering@comco.com) * lib/Makefile.in (safe-lstat.c, safe-lstat.h, safe-stat.c, safe-stat.h): Use $(srcdir) to find source files. (.c.o): Use -I. to get safe-lstat.h and safe-stat.h from the build directory. * src/Makefile.in (incl): Add -I../lib to get lib/safe-lstat.h and lib/safe-stat.h from the build directory. From Michael I Bushnell <mib@geech.gnu.ai.mit.edu>. * Makefile.in: Remove rules to create installation directories. * {src,man}/Makefile.in: Put them here instead. * configure.in: Update to take advantage of autoconf 2.0 features.Sat Aug 27 16:57:20 1994 Jim Meyering (meyering@comco.com) * system.h [BROKEN_STAT_MACROS]: Remove unnecessary #ifdef's. From Francois Pinard.Thu Aug 18 11:44:48 1994 Jim Meyering (meyering@comco.com) * su.1: Explain why GNU doesn't support the `wheel group'.Mon Aug 01 21:58:14 1994 Jim Meyering (meyering@comco.com) * date.c: Add --utc option. It will supercede --uct. Change references to `universal coordinated time' to correct `coordinated universal time'. From Harris Boldt Edelman <hbe@red-eft.la.ca.us>. * date.1: Correct the documentation, too. * date.c (main, show_date): For -u, use gmtime instead of relying on localtime's ability to interpret the TZ enviroment variable. `date -u' failed (by reporting local time) on romp-ibm-bsd and PCs (DOS and OS/2) running emx 0.8h. From R. Bernstein <rocky@watson.ibm.com>.Sat Jul 30 07:52:27 1994 Jim Meyering (meyering@comco.com) * nohup.sh: Separate `nice -5' from COMMAND with `--' to ensure that COMMAND isn't interpreted as an option to nice. * groups.sh: Similarly, separate each name from `id -Gn' with `--'. Karl Berry pointed out that `groups --help user' gave confusing diagnostics.Tue Jul 26 11:33:53 1994 Jim Meyering (meyering@comco.com) * su.c (main): Make copies of the password information we'll use so that log_su (through getlogin) doesn't clobber the static data. With suggestions from Francois Pinard. * system.h: Remove `|| defined(_POSIX_VERSION)' from test that decides whether to include <fcntl.h>. From Francois Pinard.Mon Jul 25 23:54:36 1994 Jim Meyering (meyering@comco.com) * pathchk.c (dir_ok): Use SAFE_STAT. * test.c (test_stat, binary_operator, unary_operator): Use SAFE_STAT and SAFE_LSTAT. * who.c (print_entry): Use SAFE_STAT. * test.c (group_member): Remove function. Use the one broken out into group-member.c instead.Fri Jul 15 00:23:17 1994 Jim Meyering (meyering@comco.com) system.h: Remove unneeded decls of atof and atol.Fri Jul 08 01:09:23 1994 Jim Meyering (meyering@comco.com) stty.c (main): Initialize max_col (used by wrapf) before calling display_speed. Otherwise, `stty speed' output a spurious newline. From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.Sun Jul 03 08:44:00 1994 Jim Meyering (meyering@comco.com) * configure.in [AC_HAVE_HEADERS]: Add sys/param.h, for definition of HAVE_SYS_PARAM_H, now tested in pathmax.h. * configure.in [AC_WORDS_BIGENDIAN]: Add it. This macro is required by memcmp.c on big-endian systems. Its absence was diagnosed by Lars Duening (duening@ibr.cs.tu-bs.de).Sun Jun 19 00:18:06 1994 Jim Meyering (meyering@comco.com) * nice.c (main): Accept options like `--5' (equivalent to `-n -5') instead of letting getopt give an `unrecognized option' error. * long-options.c: Require another argument: version_string. Don't include "version.h" or "system.h". * basename.c, dirname.c, echo.c, expr.c, hostname.c, printf.c, pwd.c, stty.c, test.c, yes.c: Adjust callers of parse_long_options accordingly.Thu Jun 02 14:11:31 1994 Jim Meyering (meyering@comco.com) * stty.c (main): Set max_col and current_col before running display_window_size. Otherwise, `stty size' output a spurious newline. From Bauke Jan Douma (bjdouma@xs4all.hacktic.nl).Mon May 30 09:33:53 1994 Jim Meyering (meyering@comco.com) * test.c (test_syntax_error, beyond): Add __attribute__ ((noreturn)) so gcc will know enough not to give warnings.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -