⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 实战Linux编程的原代码,希望对学驱动的人能有所帮助
💻
📖 第 1 页 / 共 5 页
字号:
	* src/unexpand.c (usage): Likewise.	* src/uniq.c (usage): Likewise.	* src/tail.c (usage): Likewise.	* src/sys2.h (alloca) [__GNUC__]: Define only if not already defined.	* src/Makefile.am (sort_LDADD): Reflect spelling change:	s/POW_LIBM/POW_LIB/.2001-11-10  Jim Meyering  <meyering@lucent.com>	* src/nl.c (proc_text): Use `puts' to output a string of spaces,	not printf.  This avoids a warning from gcc's -Wformat-security.2001-11-09  Jim Meyering  <meyering@lucent.com>	* configure.ac: Use AC_CONFIG_FILES(...) and call AC_OUTPUT with no	arguments.2001-11-05  Jim Meyering  <meyering@lucent.com>	* src/sort.c (usage): Don't recommend setting LC_COLLATE=C.	That can cause problems (now documented in coreutils.texi).2001-11-04  Jim Meyering  <meyering@lucent.com>	* uniq.c, unexpand.c, tail.c, tac.c, split.c, sort.c, pr.c, paste.c:	* od.c, nl.c, head.c, fold.c, expand.c, cut.c, csplit.c (usage):	Say that ``Mandatory arguments to long options are mandatory for	short options too.''	* src/ptx.c (usage): Add one-line description.2001-10-28  Jim Meyering  <meyering@lucent.com>	* tests/sum/sysv: New test for the fix below.	* tests/sum/Makefile.am (TESTS): Add sysv.2001-10-27  Paul Eggert  <eggert@twinsun.com>	* src/sum.c: Include human.h.	(ROTATE_RIGHT): Remove; it was slow and the comment was	misleading anyway.	(bsd_sum_file): Avoid unsigned and long when they're not needed.	Compute total input bytes as uintmax_t, not long, so that the	code works even with files whose size does not fit in 'long'.	(sysv_sum_file): Likewise.	(sysv_sum_file): Do not reduce checksum until the end; this is	what System V does.	Reported by Nick Lawes.2001-10-27  Jim Meyering  <meyering@lucent.com>	Give an accurate diagnostic when `head --bytes=30M' fails.	* src/head.c (string_to_integer): Check explicitly for overflow,	and lump everything else together as `invalid'.2001-10-04  Jim Meyering  <meyering@lucent.com>	Rename --all-repeated argument `precede' to `prepend'.	* src/uniq.c (enum delimit_method): s/DM_PRECEDE/DM_PREPEND/	and change all uses.	(delimit_method_string): s/precede/prepend/	* tests/uniq/Test.pm: Adjust tests accordingly.	Patches by Padraig Brady.	* src/uniq.c (usage): Correct typo in description of --all-repeated.	Patch by Padraig Brady.2001-09-30  Jim Meyering  <meyering@lucent.com>	* Version 2.0.16.	tail -F would segfault	* src/tail.c (parse_options): Add missing `break;' from last change.2001-09-28  Jim Meyering  <meyering@lucent.com>	* configure.ac: Tell automake to use the file name `config.hin'	rather than the two-`.' config.h.in.2001-09-26  Jim Meyering  <meyering@lucent.com>	* man/Makefile.am (common_dep): Define it, so we depend on configure.ac.	* configure.ac: Renamed from configure.in.2001-09-25  Jim Meyering  <meyering@lucent.com>	* src/Makefile.am (sort_DEPENDENCIES): Remove definition altogether.	It adds nothing to the existing: $(PROGRAMS): ../lib/libfetish.a.2001-09-24  Paul Eggert  <eggert@twinsun.com>	* src/Makefile.am (sort_DEPENDENCIES): Depend only on	../lib/libfetish.a, not on $(LDADD), since the latter may	contain `-lintl'.  This resembles yesterday's patch for the	`$(PROGRAMS)' rule.2001-09-23  Jim Meyering  <meyering@lucent.com>	* Version 2.0.15.	* src/Makefile.am ($(PROGRAMS)): Depend only on ../lib/libfetish.a,	not on $(LDADD), since the former may contain `-lintl'.	* Makefile.am (SUBDIRS): When using newer gettext (in which	intl/libintl.h is created by rules intl/Makefile)	`intl' must precede `lib'.2001-09-22  Jim Meyering  <meyering@lucent.com>	* ABOUT-NLS: Upgrade to gettext 0.10.40	* intl: Upgrade entire directory to gettext 0.10.40	* po/ChangeLog: New file.	* Makefile.am (DISTCLEANFILES): Remove definition, since intl/libintl.h	is no longer created via configure.	* tests/od/od-N: New test for the 2001-09-19 fix by Ian Bruce.	* tests/od/Makefile.am: New file.	* tests/od: New directory.	* tests/Makefile.am (SUBDIRS): Add od.	* configure.in (AC_OUTPUT): Add tests/od/Makefile.2001-09-19  Paul Eggert  <eggert@twinsun.com>	* src/od.c (MAX_ADDRESS_LENGTH, pseudo_offset, format_address,	n_bytes_to_skip, skip, format_address_none,	format_address_std, format_address_paren,	format_address_label, write_block, parse_old_offset, dump,	dump_strings, main):	Use uintmax_t, not off_t, for file addresses, so that we can	handle multiple large files even if the sum of their sizes	exceeds off_t limits.	(print_s_char, print_char, print_s_short, print_short,	print_int, print_long, print_long_long, print_float,	print_double, print_long_double, dump_hexl_mode_trailer,	print_named_ascii, print_ascii, decode_one_format):	Use size_t, not off_t, for in-memory byte counts.	(end_offset): New var.	(dump, dump_strings): Use it.	(main): Set it, but check for overflow while doing so.	(skip): Report an error if an in-range lseek fails on a	regular file, as something's seriously wrong.  Check for	negative regular file sizes (possible with some broken NFS	implementations).	(parse_old_offset): Now all offsets are valid, so return a	success boolean and take a pointer to an offset as an argument.	All callers changed.	(dump_strings): Check for overflow when computing end_offset -	string_min.	(main): Remove OFF_T_MAX checks that are no longer needed.	Don't bother assigning through temporary when there's no size	limit to check.2001-09-19  Jim Meyering  <meyering@lucent.com>	* src/od.c (open_next_file): Use SETVBUF, not setbuf.	(skip): Revert part of last change: use lseek, not fseek.	When --read-bytes=N (-N N) is used, disable input buffering in	the standard I/O library.  Otherwise, od would read more input	than requested.  This could have caused problems when reading	from pipes, character devices, or open file descriptors inherited	from a parent process.	* src/od.c (open_next_file): New function, factored out of...	(skip): Adapt to use open_next_file.	(read_char): Likewise.	(read_block): Likewise.	(main): Likewise.	(dump): Fix an off-by-one error that could have made od fail to	report a read error when reading from a named file (not stdin).	(check_and_close): Account for the fact that in_stream may now be NULL.	(usage): Correct descriptions of -j and -N options.	Patch by Ian Bruce.2001-09-16  Jim Meyering  <meyering@lucent.com>	* Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5.	* man/Makefile.am: Revamp this file, as for fileutils.	* src/md5sum.c (digest_check): On systems for which setmode actually	does something, arrange to read the file containing checksum strings	in text mode.  Based on a patch from Chris Faylor.	* src/system.h (SET_MODE): Define.2001-09-12  Jim Meyering  <meyering@lucent.com>	The command `echo a|./fmt -2147483647' would cause fmt to segfault.	* src/fmt.c (fmt_paragraph): Test for sentinal directly, rather than	doing arithmetic with it's potentially large (INT_MAX) length.	* tests/fmt/basic: Add tests for the above.	tail: accept new option: -F, equivalent to `--follow=name --retry',	for compatibility with FreeBSD and NetBSD versions of tail.	* src/tail.c (usage): Describe new option.	(parse_options): Accept it.	Patch by Christian Kurz, via Herbert Xu.	The command `echo foo|fmt -w N' for N>=32K would cause fmt to segfault.	* src/fmt.c [struct Word]: Declare members length, space, and	line_length to be of type `int', not short.	(MAXCOST): Define using TYPE_MAXIMUM.	Reported by Herbert Xu.2001-08-31  Jim Meyering  <meyering@lucent.com>	* src/fmt.c (bool): Remove typedef, now that it's in system.h.	(TRUE): Define to `true', not 1.	(FALSE): Define to `false', not 0.2001-08-30  Paul Eggert  <eggert@twinsun.com>	* src/cat.c: Include full-write.h.	(full_write): Remove decl; not needed.	* src/split.c: Likewise.	* src/cat.c (simple_cat, cat):	Don't assume read and write size fits in int.2001-08-28  Jim Meyering  <meyering@lucent.com>	* src/fmt.c (main): Correct the diagnostic for invalid argument to -w.	(main): Diagnose an invalid, old-style width option.2001-08-27  Jim Meyering  <meyering@lucent.com>	* Makefile.maint: Undo last change.  Instead, simply remove `N_(',	since the `Copyright ...' line should not be translated.2001-08-26  Jim Meyering  <meyering@lucent.com>	* Makefile.maint (copyright-check): Update to reflect fact that	the copyright year is now defined separately.2001-08-08  Charles Randall <crandall@matchlogic.com>	* src/sort.c (mergefps): Do not allocate at least sort_size	bytes for each merge buffer.  Instead, allocate at least	sort_size bytes total.2001-08-25  Jim Meyering  <meyering@lucent.com>	* tests/uniq/Test.pm: Re-enable some commented-out tests.2001-08-25  Paul Eggert  <eggert@twinsun.com>	* src/uniq.c (main): Fix a typo in the previous patch: missing	a bounds check for examples like `uniq a b c'.	* uniq.c (main): Fix some more incompatibilities with POSIX.2,	(e.g. `uniq +3 --' did not work) by invoking getopt_long with	leading '-', resembling what was done to 'sort' on 2001-03-20.	Recognize an +N option only if it is an integer in range, and	(if POSIXLY_CORRECT) only if a file name argument has not been seen;	otherwise silently treat it as a file name.	If the user specifies too many operands, output the first one	in the error message, as a diagnostic aid.2001-08-24  Paul Eggert  <eggert@twinsun.com>	* src/uniq.c (main): Don't report an error when given the	valid options `+3 -d'.2001-08-24  Paul Eggert  <eggert@twinsun.com>	* src/uniq.c (different): Don't assume that lengths can fit	into size_t.  Tune code for the common case where the line	lengths differ: we avoid comparing them entirely in that case.2001-08-25  Jim Meyering  <meyering@lucent.com>	* tests/uniq/Test.pm: Add tests for -s 0 and -w 0.2001-08-24  Paul Eggert  <eggert@twinsun.com>	Remove arbitrary restrictions on sizes, fixing a bug reported	by Geoff Whale.	* src/uniq.c (skip_fields, skip_chars, check_chars): Now size_t,	not int.	(size_opt): New function.  Do not arbitrarily reject size zero.	Change the wording of the error message slightly, for convenience.	(find_field): Use size_t, not int, to compute sizes.	(different, main): check_chars==0 is no longer a special case, as	it defaults to SIZE_MAX.	(main): Check for overflow with args like -234234234234234.	Use 'size_opt' to convert optional arguments to sizes.2001-08-25  Jim Meyering  <meyering@lucent.com>	* tests/uniq/Test.pm: Add new test, #54, for the just-fixed bug.2001-08-24  Paul Eggert  <eggert@twinsun.com>	* src/uniq.c (find_field): Don't count trailing newline to be	part of the field.  This disagrees with POSIX.2, but it's	gotta be a bug in the standard.  An interpretations request	has been submitted to PASC.	Reported by Geoff Whale.2001-08-18  Jim Meyering  <meyering@lucent.com>	* Makefile.maint: Merge in changes from autoconf.	* Makefile.maint ($(v_etc_file)): Define.	(copyright-check): Use the new variable.	(my-distcheck): Depend on local-check so those checks are once	again run by `make distcheck'.	* src/head.c (head_bytes): Read no more than the specified	number of bytes.  Patch by Ian Bruce.	* tests/misc/head-c: New test for the above.	* tests/misc/Makefile.am: New file.	* tests/misc: New directory.	* tests/Makefile.am (SUBDIRS): Add misc.	* configure.in (AC_OUTPUT): Add tests/misc/Makefile.2001-08-14  Jim Meyering  <meyering@lucent.com>	* src/Makefile.am (INCLUDES): Add -I../lib so sys2.h can include	the new, generated file, unlocked-io.h.2001-08-13  Jim Meyering  <meyering@lucent.com>	* src/cat.c (AUTHORS): Mark string for translation, since it	contains the English word `and'.	* src/comm.c: Likewise	* src/csplit.c: Likewise	* src/cut.c: Likewise	* src/md5sum.c: Likewise	* src/nl.c: Likewise	* src/paste.c: Likewise	* src/pr.c: Likewise	* src/sort.c: Likewise	* src/split.c: Likewise	* src/sum.c: Likewise	* src/tac.c: Likewise	* src/uniq.c: Likewise	* src/wc.c: Likewise2001-08-12  Jim Meyering  <meyering@lucent.com>	* tests/mk-script ($program_name): Define.	(main): Use $program_name, rather than long-inaccurate `build-script'.	(main): Iterate over the sorted keys (rather than `while...each...'),	so this script produces the same output regardless of which version	of perl (e.g., perl5.6) is used.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -