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

📄 changelog-1997

📁 实战Linux编程的原代码,希望对学驱动的人能有所帮助
💻
📖 第 1 页 / 共 5 页
字号:
	* src/cp-aux.c: Remove file.	* src/cp.h: Remove file.	* src/du.c (hash_insert2): Rename local HTAB to HT to avoid shadowing	global.	* src/dircolors.c [obstack_chunk_alloc]: Define to malloc, not xmalloc	to work better with new obstack functions.	* src/ls.c (obstack_chunk_alloc): Likewise.	* src/df.c (main): Rename local I to C to avoid shadowing and to	be more consistent.  Declare I in inner scopes.	* po/Makefile.in.in (POTFILES): Redirect to an intermediate file	and write-protect POTFILES.Fri Jan 31 21:13:04 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* src/chown.c (usage): Make the parenthetical note on --no-dereference	a little more general.	* src/*.c: Compare getopt_long return value against -1, not EOF.	Use NULL, not `(int *) 0' as last parameter in getopt_long call.	(usage): Bracket bug-reporting address with <> and append a period.1997-01-27  Paul Eggert  <eggert@twinsun.com>	* src/ls.c (print_long_format): Fix off-by-one problem in size	being passed to strftime.Sun Jan 26 20:17:50 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* Version 3.16.	* acconfig.h (strftime): Add #undef.  From Marcus Daniels.Sat Jan 25 00:34:39 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* src/du.c (count_entry): Fix blatant bug (typo?) that made	--megabytes report numbers in units of kilobytes.	Reported by Galen Hazelwood.	* src/cp.h: Remove now-unnecessary prototype for is_ancestor.	* lib/Makefile.am (noinst_HEADERS): Add getdate.h.	* src/cp-aux.c (is_ancestor): Remove function.	* src/cp.c (is_ancestor): Add function.	* src/cp.h: Remove spurious extern dcl of htab.	* m4/getgroups.m4: Move the code from configure.in into	this macro that resorts to looking for getgroups in -lbsd.	Set new shell variable, GETGROUPS_LIB (that callers should check),	if it is found there.	* configure.in: Check $GETGROUPS_LIB just after jm_FUNC_GETGROUPS.	(AC_CHECK_FUNCS): Remove getgroups.	Remove code that resorts to looking for getgroups in -lbsd.	* configure.in (jm_FUNC_GNU_STRFTIME): Use it -- because ls	needs a version of strftime that supports the %e format and	pretty many systems lack that: NextStep 3.3, Mips Ultrix ?.?.	This is a little bit overkill (for now) in that if the strftime	in your C library doesn't have all features of GNU strftime (even	though it may support %e) ls will be linked with the version of	strftime provided with this package.  But for an upcoming release,	GNU ls will provide an option to allow the user to specify the	date format string -- and for that I want to make GNU strftime	the default in any case.  Think of this as an incentive to use	the GNU C library.Fri Jan 24 23:36:00 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/long-options.c (parse_long_options): Reset optind to zero	before just returning so that getopt internals get initialized from	the probably-new parameters when/if getopt is called later.	From Ulrich Drepper.Mon Jan 20 06:52:09 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* configure.in (fu_cv_sys_truncating_statfs): Add preprocessor	guard to make sure that this test for Sun brokenness doesn't	get a false positive on any other type of system.  Eirik Fuller	reported that Linux 2.1.20 <sys/vfs.h> has a f_spare member in	the statfs struct.  And that triggered a false positive.Thu Jan  9 06:23:18 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* m4/gettext.m4: Remove AC_ISC_POSIX.  From Karl Heuer.Wed Jan  8 16:38:24 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* Version 3.15.	* src/ls.c (print_long_format): Cast alloca return value to char*.	* lib/getopt.c (_getopt_internal): Use `_', rather than the	(sometimes-)expansion `gettext'.Tue Jan  7 22:49:55 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/getopt.c: New (more POSIX compliant) version from GNU libc.	[_]: Define to gettext also if ENABLE_NLS is defined.	This is temporary.Sun Jan  5 09:33:07 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* src/ls.c (print_long_format): Avoid making unnecessary copy of	date/time string.  Patch from Paul Eggert.	(print_long_format): NUL-terminate line of output.	(print_long_format): Detect and handle strftime failure	due to pathologically long strings in locale tables.	Patch from Paul Eggert.	(print_long_format): Change references to BIGBUF in use of	FPUTS macro to references to BUF.	Use 11 (not 20) bytes for mode string buffer.Sat Jan  4 21:14:36 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* src/ls.c (print_long_format): Clean up vestiges of legacy	ctime-oriented code.  With internationalization and strftime,	you can't presume that %a expands to a 3-byte string.	Reported by Ross Ridge.	(print_long_format): Use POSIX-mandated %e (blank-padded numeric	day of month), not %d (the same number, but *zero*-filled).Fri Jan  3 21:08:29 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* acconfig.h (getgroups): Add #undef.	From Marcus Daniels.Thu Jan  2 21:16:16 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/Makefile.am (EXTRA_DIST): Add getgroups.c.Wed Jan  1 17:30:26 1997  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/getgroups.c: New file.	* configure.in (AC_ARG_PROGRAM): Remove explicit use.	It's implicit in AM_INIT_AUTOMAKE.  From Wayne Stewart.	(list_mounted_fs): Fix typo (by declaring NUMSYS) in test for	getfsstat on osf1.  From hitchens@epa001.enet.dec.com.Sun Dec 29 21:55:13 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* configure.in (jm_FUNC_GETGROUPS): Use it.Sat Dec 28 14:32:05 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* src/ls.c: Two problems fixed by these changes from Joakim Rosqvist.	Quoting Joakim:	1) The "total" number and the size of the first file as	output from 'ls --color -s' did not get colorized according	to the "no"-argument in LS_COLORS. Fixed by adding a function	prep_non_filename_text which prints the C_LEFT C_NORM C_RIGHT	strings (or C_END). It is called from main before any text is	output, and from print_name_with_quoting after having output a	colorized filename.	2) If the "no"-argument of LS_COLORS is set, the terminal will be	set to print in that color after ls exits. The man-pages suggests	setting "no" and "fi" to the terminals default colors to avoid	the problem, but that would mean I can't use anything but the	default color for regular files and non-filename text. Fixed by	outputting C_LEFT immediately followed by C_RIGHT right before	exit, which restores the default color.Fri Dec 27 17:29:02 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* Makefile.am (aclocal.m4): No longer depend on acinclude.m4.	* configure.in: AC_REQUIRE version 2.12 of autoconf.Sun Dec 22 23:29:10 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* acinclude.m4: Move macros to individual files in new directory, m4/.	See ChangeLog entries in sh-utils for the details.Wed Dec 18 23:09:19 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* src/dircolors.hin (ORPHAN): By default, color orphans red on	a black background.	* src/dircolors.c (usage): Remove --print-data-base.	Now only --print-database remains.  Although it wasn't documented,	--print-data-base was still accepted.  But it made `--p', `--print',	`--print-data', etc. ambiguous.	* src/ls.c (gobble_file): Stat symlinks also when printing with	color and set linkok to reflect existence of referent.	Patches from Joakim Rosqvist, James Antill, and Jesse Thilo.Tue Dec 17 21:03:40 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* src/system.h (ISDIGIT): Replace with smaller, faster edition	that yields nonzero only on ASCII digits.	(ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT	used to have.  From Paul Eggert.	* lib/backupfile.c (ISDIGIT): Likewise.	* lib/getdate.y (ISDIGIT): Likewise.	* src/cp.c (ROOT_CHOWN_AFFECTS_SYMLINKS): New macro.	(DO_CHOWN): Take an additional parameter.	(LINK_CHOWN): Remove macro.	(copy): When preserving owner and group of a symlink, use	chown only if ROOT_CHOWN_AFFECTS_SYMLINKS and EUID == 0.	Otherwise, the chown would affect the file referenced through	the symlink.Sat Dec 14 14:51:50 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* acinclude.m4 (jm_SYS_PROC_UPTIME): Fix typo in cache variable	name for cross compiling.	Remove definitions of gettext-related macros.  The gettext	installation procedure installs corresponding .m4 files so that	aclocal will use them.Wed Dec 11 19:34:22 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* Version 3.14.Tue Dec 10 00:14:24 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* configure.in: Bump version to 3.13k.	* src/install.c [_POSIX_VERSION]: Don't declare wait.  That	declaration conflicted with one in a system header file on	i386-pc-isc3.0, now that I've removed the AC_ISC_POSIX macro	and _POSIX_VERSION is no longer defined.	Reported by Karl Heuer.	* configure.in (AC_ISC_POSIX): Remove kludgy macro.	Use this test instead:	(LIBS): Add -lcposix if it contains strerror.	Patch from Karl Heuer.	* lib/Makefile.am (EXTRA_DIST): Add mktime.c.	Reported by Thomas Bushnell.	* (EXTRA_DIST): Add strftime.c to appease automake.	Although it's not used yet, it'll be used by ls's (to-be-done)	--format=FORMAT option.Mon Dec  9 18:26:54 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/obstack.h: Include config.h.	[!HAVE_BCOPY && HAVE_MEMCPY && !defined (bcopy)]: Define bcopy	in terms of memcpy.  Reported by Marcus Daniels.	* configure.in (LIBOBJS): After AC_FUNC_FNMATCH, add fnmatch.o	and define fnmatch to rpl_fnmatch if necessary.	* acconfig.h (fnmatch): Add undef.	* src/df.c (find_mount_point): Convert from K&R style header to ANSI.	Patch from Kaveh Ghazi.Sun Dec  8 07:22:38 1996  Jim Meyering  <meyering@na-net.ornl.gov>	=========== Update for automake-1.1k.	* Makefile.am (AUTOMAKE_OPTIONS): Require 1.1k.	* configure.in (AM_CONFIG_HEADER): Use it.	(AC_OUTPUT): Remove stamp-h timestamping statement.	Now, AM_CONFIG_HEADER does it automatically.	* lib/Makefile.am (noinst_LIBRARIES): Rename to libfu.a as per	new automake requirement.	Rename fu_* variables to libfu_a_*.Mon Dec  2 20:30:20 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* configure.in (jm_FUNC_MKTIME): Use this instead of AM_FUNC_MKTIME.	* src/system.h [!S_IXUGO] (S_IXUGO): Define it.	* src/ls.c (print_color_indicator): Check the file's suffix only	if it's a regular file.	Reported by Santiago Vila Doncel.	(print_type_indicator): Use S_IXUGO instead of writing out	(S_IEXEC | S_IXGRP | S_IXOTH).	(length_of_file_name_and_frills): Likewise.Sun Dec  1 13:07:39 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/getdate.y (date): Interpret the date, L/M/N, as YYYY/MM/DD	if L >= 1000, otherwise as MM/DD/YY.  With this change,	date --date=DATE accepts dates like those in an RCS log listing.Sat Nov 30 22:11:42 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* acinclude.m4: (jm_FUNC_MKTIME): New macro.  This is like	AM_FUNC_MKTIME, but with one addition: when it replaces the	function, it also redefines mktime to gnu_mktime.Fri Nov 29 21:19:13 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* src/install.c (copy_file): Allow installation from non-directory	(rather than only regular) files.  Suggestion from Charles Karney.	* src/df.c (main): Accept -F as a synonym for -t for compatibility	with Solaris.  From Peter Eriksson.	* src/ls.c (main): Close stdout and check result, in case any	deferred writes fail.	Use EXIT_SUCCESS and EXIT_FAILURE in exit and usage calls.Thu Nov 28 13:10:22 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* src/df.c (find_mount_point): Use strip_trailing_slashes and dirname	instead of open-coding them.  When given FILE containing no slashes,	chdir to the directory containing it (the current directory) rather	than to `..'.	Tue Nov  5 14:51:56 1996  Miles Bader  <miles@gnu.ai.mit.edu>	* src/df.c (find_mount_point): Use save_cwd/restore_cwd.	"save-cwd.h": New include.	Wed Oct 30 00:21:16 1996  Miles Bader  <miles@gnu.ai.mit.edu>	* lib/fsusage.c (get_fs_usage): If DISK is 0 and we needed to use	it, return -1 with 0 in ERRNO.	* src/df.c (show_dev): Deal with null values for DISK and FSTYPE,	including interpreting special 0 errno return from get_fs_usage.	(show_point): Don't fail if we can't find a mount entry for POINT,	just call show_dev with 0 values and let it fail if necessary.	(main): Require a non-zero MOUNT_LIST only if showing all filesystems.	(find_mount_point): New function.	(xgetcwd): New declaration.Thu Nov 28 00:31:11 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* configure.in (AM_GNU_GETTEXT): Renamed from ud_GNU_GETTEXT	for gettext-0.10.25.Tue Nov 26 23:24:13 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* acinclude.m4: Update with macros from gettext-0.10.25.Sun Nov 24 22:43:24 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* acconfig.h (mktime): Add undef for my enhanced (beyond automake's	1.1g version of) AM_FUNC_MKTIME.	* acinclude.m4 (AM_FUNC_GETLINE): Use am_, not su_ prefix for	local/cache variables.Sat Nov 23 16:11:59 1996  Jim Meyering  <meyering@na-net.ornl.gov>	* lib/Makefile.am (EXTRA_DIST): Add getline.c now that getline	isn't mentioned in AC_REPLACE_FUNCS.	* lib/Makefile.am (EXTRA_DIST):	* chgrp.c (usage): Alphabetize option descriptions the way	sort -f would.	* chown.c (usage): Likewise.	* cp-aux.c (usage): Likewise.	* df.c (usage): Likewise.	* install.c (usage): Likewise.	* ln.c (usage): Likewise.	* ls.c (usage): Likewise.	* mkdir.c (usage): Likewise.

⌨️ 快捷键说明

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