📄 changelog
字号:
(main): Reimplement again, using nanosleep and clock_gettime. * configure.in: Remove check for gettimeofday. Now it's in m4/jm-macros.m4 * man/Makefile.summ: Remove now-unused summaries.1999-12-22 Jim Meyering <meyering@ascend.com> * lib/getdate.y (get_date): Fix typo in time_t overflow test. From Michael Stone. * tests/date/Test.pm (regress-1): New test for the above.1999-12-18 Jim Meyering <meyering@ascend.com> * src/who.c (print_entry): Correct do_lookup test so that who prints whatever host information it has, even without --lookup. Reported by Bill Peters.1999-12-12 Jim Meyering <meyering@ascend.com> Move 120+ lines of stat.h-related macros from system.h (not shared) to sys2.h, which is shared between fileutils, sh-utils, textutils. * src/system.h: Move them from here... * src/sys2.h: ... to here.1999-11-27 Jim Meyering <meyering@ascend.com> Rewrite to allow fractional seconds and to handle SIGCONT. * src/sleep.c (main): Rewrite. (sighandler): New function. (apply_suffix): New function. (timeval_subtract): New function. Reported by Raul Miller. * src/sleep.c (argdecode): Move definition to precede use. Remove prototype. (usage): Add elipses to show that sleep allows more than one argument.1999-11-22 Jim Meyering <meyering@ascend.com> * lib/Makefile.am (DISTCLEANFILES): Add lstat.c and stat.c.1999-11-09 Jim Meyering <meyering@ascend.com> * src/expr.c (NEW): Undefine to avoid warning about redefinition. (NEW): Redefine in terms of XMALLOC. * lib/xalloc.h (XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/. (XCALLOC): Likewise. (XREALLOC): Likewise.1999-11-05 Jim Meyering <meyering@ascend.com> * src/system.h: Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS. * configure.in: Move some type/header/member tests into m4/jm-macros.m4 (jm_CHECK_ALL_TYPES) so they are shared by all of fileutils, textutils, and sh-utils.1999-11-01 Jim Meyering <meyering@ascend.com> * lib/Makefile.am (MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).1999-10-07 Jim Meyering <meyering@ascend.com> * configure.in (ALL_LINGUAS): Add Japanese (ja).1999-10-04 Jim Meyering <meyering@ascend.com> * depcomp: New file, for automake's new dependency support. * missing: New version, from automake's user-dep-gen-branch.1999-09-28 Jim Meyering <meyering@ascend.com> * src/system.h: Update from the system.h from fileutils. Now they're finally almost identical...1999-09-09 Jim Meyering <meyering@ascend.com> * src/Makefile.am (EXTRAdir): Remove unused variable. (installed_su): Use `$(DESTDIR)$(bindir)' in place of $(bindir). (install-exec-local): Likewise. (.sh): Substitute `$(bindir)' rather than @bindir@. Based on a patch from Andreas Schwab.1999-09-08 Andreas Schwab <schwab@suse.de> * tests/nice: Instead of failing, exit with 77 if running niced.1999-09-08 Jim Meyering <meyering@ascend.com> * src/su.c: Remove declaration of xstrdup.1999-09-02 Jim Meyering <meyering@ascend.com> * src/expr.c: Remove xstrdup declaration. * src/date.c: Likewise. * src/pathchk.c: Likewise. * src/su.c: Likewise.1999-08-29 Jim Meyering <meyering@ascend.com> * tests/nice: Use `nice' instead of $nice. * tests/Makefile.am (TESTS_ENVIRONMENT): Prepend ../src to PATH so the above works. * src/env.c (main): Call exit explicitly to avoid warning from gcc. * src/nice.c (main): Likewise. Include "xstrtol.h". (isinteger): Remove function and prototype. (main): Use xstrtol in place of atoi. Remove associated FIXME comments. * configure.in (AC_YACC): Remove use, now that we require bison. * tests/date/Test.pm (test_vector): Add a test for the Risks-reported problem with syntax like this: Nov 11 1996. * lib/getdate.y (get_date): Rename outermost local `probe' to `quarter'. (get_date): Rename latter local `tm' to probe_tm. * lib/getdate.y (relative_time_table): Change `type' of `THIS' from tMINUTE_UNIT to tUNUMBER. From Urs Thuermann. * tests/date/Test.pm (test_vector): Add tests for use of `this'.1999-08-25 Jim Meyering <meyering@ascend.com> * man/Makefile.summ (seq-summary): Define. * man/Makefile.am (man_MANS): Add seq.1. Reported by Dirk-Jan Faber.1999-08-23 Jim Meyering <meyering@ascend.com> * src/pathchk.c (longopts): Restore accidentally-removed entry for `--portability' long option. * src/chroot.c (usage): Correct --help message. * src/hostid.c (usage): Likewise. * src/hostname.c (usage): Likewise. * src/logname.c (usage): Likewise. * src/nice.c (usage): Likewise. * src/printenv.c (usage): Likewise. * src/sleep.c (usage): Likewise. * src/stty.c (usage): Likewise. Reported by Daniel Bergstrom.1999-08-22 Jim Meyering <meyering@ascend.com> * src/sys2.h (ATTRIBUTE_NORETURN): Define. * src/test.c: Use ATTRIBUTE_NORETURN instead of NO_RETURN_ATTRIBUTE. (NO_RETURN_ATTRIBUTE): Remove definition. * src/su.c (run_shell): Declare with gcc's noreturn attribute. Use an explicit exit(1) rather than doing that through error. * src/sys2.h (IF_LINT): Define new macro. * src/date.c (batch_convert): Use IF_LINT macro instead of #ifdef lint. * src/pathchk.c (validate_path): Likewise.1999-08-21 Jim Meyering <meyering@ascend.com> * src/hostid.c (usage): Remove the ` [-v]' from the Usage: line. Reported by Daniel Bergstrom.1999-08-17 Jim Meyering <meyering@ascend.com> * tests/stty/input-tty: New file, containing code factored out of the two test scripts. Mention `at' and `batch' in addition to `rsh'. * tests/stty/basic-1: Source it. * tests/stty/row-col-1: Source it. * tests/stty/Makefile.am (EXTRA_DIST): Add input-tty.1999-08-14 Jim Meyering <meyering@ascend.com> * Version 2.0. * tests/stty/basic-1: Fail-77 if stdin is not a tty. * tests/stty/row-col-1: Likewise. Suggestion from Volker Borchert.1999-08-07 Jim Meyering <meyering@ascend.com> * Version 1.16m. * Makefile.maint (po-check): New rule. (alpha): Make it. * po/POTFILES.in: Add the following from lib/: argmatch.c, closeout.c, error.c, getopt.c, human.c, long-options.c, version-etc.c, xmalloc.c. Add these from src/: false.c, hostid.c, true.c. * lib/getdate.y (OtherTable[]): Use tDAY_UNIT for `tomorrow,' `yesterday,' `today,' and `now' rather than tMINUTE_UNIT. Of course with correspondingly smaller numbers for tomorrow and yesterday. This change does not change the way the code works, since the grammar rules for the two symbols are analogous. From Tadayoshi Funaba.1999-08-04 Jim Meyering <meyering@ascend.com> false and true once again generate --help and --version output * src/true.c: Honor --help and --version once again, bug ignore those options when POSIXLY_CORRECT is set. * src/false.c: Fail even for --help and --version. * src/Makefile.am (false.c): Generate automatically from true.c. (BUILT_SOURCES): Add false.c. * man/Makefile.am (EXTRA_DIST): Remove false.1in and true.1in. * man/Makefile.summ: Remove the rules added on 1999-07-31. * man/Makefile.maint: Likewise. * man/true.1in: Removed. * man/false.1in: Removed. * configure.in: Remove getline-testing code. Now it's in m4/.1999-08-01 Jim Meyering <meyering@ascend.com> * src/date.c (usage): Correct description of %S; (00..60, not 00..61). From Ken Pizzini.1999-08-01 Paul Eggert <eggert@twinsun.com> * configure.in (AC_SYS_LARGEFILE): Renamed from AC_LFS.1999-07-31 Jim Meyering <meyering@ascend.com> * Version 1.16l. false and true are now C programs rather than shell scripts * src/true.c: New file. * src/false.c: New file. * src/true.sh: Removed. * src/false.sh: Removed. * src/Makefile.am (bin_PROGRAMS): Add true and false. (bin_SCRIPTS): Remove true and false. (EXTRA_DIST): Remove false.sh and true.sh. * man/true.1in: New file. * man/false.1in: New file. * man/Makefile.am (EXTRA_DIST): Remove extra (shadowed) assignment. (EXTRA_DIST): Add false.1in and true.1in. * man/Makefile.maint (helpful-men): Define. * man/Makefile.summ ($(helpless-men)): New manual-generating rules to accommodate the fact that false and true no longer accept --help. * doc/sh-utils.texi: Include a couple of sentences from the truefalse package. Prompted by Christi Alice Scarborough's truefalse package.1999-07-30 Jim Meyering <meyering@ascend.com> * configure.in (ALL_LINGUAS): Add Brazilian Portuguese (pt_BR).1999-07-26 Jim Meyering <meyering@ascend.com> * src/tee.c (tee): Convert from open/fds to using fopen/streams for output, in preparation for addition of new compression option.1999-07-21 Jim Meyering <meyering@ascend.com> * tests/stty/basic-1 (options): Avoid Solaris' broken /usr/ucb/tr by removing offending use of tr altogether and removing hyphens with sed. Reported by Kaveh Ghazi.1999-06-01 Volker Borchert <bt@teknon.de> * tests/Makefile.am: Make envvar-check depend on check-recursive rather than on `check' so that its tests are performed before any real tests.1999-07-15 Jim Meyering <meyering@ascend.com> * src/false.sh: Always exit unsuccessfully, even with --help and --version. Suggested by Felix Lee.1999-07-12 Jim Meyering <meyering@ascend.com> * src/sys2.h (mempcpy): Define only if not already defined. Reported by Collin Rogowski.1999-05-27 Volker Borchert <bt@teknon.de> * tests/Makefile.am: Qualify .env-warn with $(srcdir)/ prefix.1999-05-25 Jim Meyering <meyering@ascend.com> * tests/stty/basic-1: Fix non-portable use of `tr' that caused this test to fail when run with a SysV-style tr. Based on a patch from Kaveh Ghazi.1999-05-21 Jim Meyering <meyering@ascend.com> * Version 1.16k. * configuration fixes: see m4/ChangeLog.1999-05-16 Jim Meyering <meyering@ascend.com> * Version 1.16j. * configure.in (AC_SEARCH_LIBS): Set LIB_CRYPT to $ac_cv_search_crypt, to go along with the new macro in m4/search-libs.m4.1999-05-14 Jim Meyering <meyering@ascend.com> * lib/getugroups.c (getugroups): Don't dereference a null pointer when running `id USER' for some USER that is listed on the RHS in /etc/group. From Sander van Malssen. Add some curly braces, use STREQ, reverse the sense of a test and use `continue' to save a level of nesting. * tests/Makefile.am (envvar-check): Renamed from check-local. (check): Depend on envvar-check so the envvar check is performed before all other tests. Reported by Volker Borchert. * tests/.env-warn: Use `%%' place-holder that Makefile.am rule expects, so CDPATH is mentioned in the message. Reported by Volker Borchert.1999-05-10 Jim Meyering <meyering@ascend.com> * src/uptime.c (AUTHORS): add Kaveh. Expand each `&' character in the gecos field. * src/pinky.c (count_ampersands): New function. (create_fullname): New function. (print_entry): Use create_fullname here. (print_long_entry): Use it here, too. From Kaveh Ghazi.1999-05-09 Jim Meyering <meyering@ascend.com> * lib/regex.c: Update from libc. * Version 1.16i. * configure.in: Clean up checks for libraries so that we don't add -lshadow unless necessary. Reported by Joseph S. Myers.1999-05-05 Jim Meyering <meyering@ascend.com> Add definitions to help read utmpx on systems with utmpname. * lib/readutmp.h (UTMP_NAME_FUNCTION): Define. (SET_UTMP_ENT): Likewise. (GET_UTMP_ENT): Likewise. (END_UTMP_ENT): Likewise. * lib/readutmp.c (read_utmp): Use the new definitions. From Kaveh Ghazi. * src/date.c (show_date): Change an automatic aggregate initializer to be a static one. For SunOS4's cc. From Kaveh Ghazi.1999-05-03 Jim Meyering <meyering@ascend.com> * configure.in: Remove duplicate use of jm_FUNC_GNU_STRFTIME. Kaveh Ghazi reported that strftime.o was listed twice in the command to build libsu.a.1999-05-02 Jim Meyering <meyering@ascend.com> * Version 1.16h. * src/hostname.c (main): Give a better diagnostic when we fail to set the hostname. * man/Makefile.summ (hostid-summary): Use correct description. Reported by Joseph S. Myers. * lib/readutmp.c (read_utmp): Ignore the return value from utmpname.1999-04-30 Jim Meyering <meyering@ascend.com> * src/dirname.c (main): Manually handle `--', since we no longer call getopt. Reported by Joseph S. Myers. * src/basename.c (main): Likewise. * src/factor.c (main): Likewise.1999-04-25 Jim Meyering <meyering@ascend.com> * src/seq.c (main): Handle the case in which seq is given no args. Reported by John Gotts. (main): Revert last change. Instead, loop on `optind < argc' to protect use of argv[optind]. * lib/human.c <inttypes.h>: Don't include it here. * lib/human.h <inttypes.h>: Include it here instead. <config.h>: Include it here too. Reported by Andreas Jaeger. * src/nice.c [NDEBUG]: Remove definition. Reported by Andreas Jaeger.1999-04-24 Jim Meyering <m
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -