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

📄 changelog.0

📁 实战Linux编程的原代码,希望对学驱动的人能有所帮助
💻 0
📖 第 1 页 / 共 5 页
字号:
	given, give a diagnostic in addition to the usage message.	(isinteger): Accept a leading `+'.Fri Nov 26 18:49:42 1993  Jim Meyering  (meyering@comco.com)	* stty.c [GWINSZ_BROKEN]: Define TIOCGWINSZ to TCGETS for Solaris-2.2.	On that system, ioctl (0, TIOCGWINSZ, &win) always fails, but using	TCGETS works.  Reported by Francois Pinard.	* configure.in [GWINSZ_BROKEN]: New test to detect Solaris' inability	to get window size from ioctl using TIOCGWINSZ.	* acconfig.h [GWINSZ_BROKEN]: Add an #undef.Mon Nov 22 23:40:21 1993  Jim Meyering  (meyering@comco.com)	* who.c [defined (UTMPX_FILE)]: (undef and) define UTMP_FILE to	this value even if UTMP_FILE is already defined.  Because some	systems define both symbols.  From Arne H. Juul.	* [MESG_BIT]: Rename to S_IWGRP (from sys/stat.h>) and define only	if not already defined.Fri Nov 19 23:08:03 1993  Jim Meyering  (meyering@comco.com)	* who.c (print_entry): Produce reasonably formatted output even when	sizeof (this->ut_name,ut_line) are much larger than 8.  For Solaris	and other SysVr4.  With help from Arne H. Juul.	* configure.in (HAVE_UTMPX_H): New test; combined with test for the	ut_host field.  From Arne H. Juul.	* memcmp.c: New file.	* lib/Makefile.in [SOURCES]: Add memcmp.c.	* configure.in (AC_REPLACE_FUNCS): Add memcmp.	Add test for 8-bit clean memcmp.	* configure.in (AC_HAVE_FUNCS): Add isascii.	* expr.c [!defined (isascii) || defined (STDC_HEADERS)]: This failed	on AIX PS/2 1.3 systems because isascii is a function and it is used	in definitions (with the necessary side effect of assigning to a	global variable) of the is* macros.  Also test HAVE_ISASCII and	redefine ISASCII(c) instead of isascii.	Reported by Minh Tran-Le (tranle@intellicorp.com).	* printf.c: Ditto.	* configure.in (AC_HAVE_HEADERS): Add sys/timeb.h; getdate.y tests	HAVE_SYS_TIMEB_H.	* stty.c (main): Detect the case in which POSIX-conformant tcsetattr	fails and still returns zero.Wed Nov 17 21:05:10 1993  Jim Meyering  (meyering@comco.com)	* yes.c (main): Complete my half-finished Nov 2 change.	yes with arguments did not print newlines.  From Andreas Schwab	(ls5.informatik.uni-dortmund.de).	* stty.c (wrapf): Fix off-by-one error that could make `stty -a'	output lines one character too long.  From Andreas Schwab.Sat Nov 13 00:11:19 1993  Jim Meyering  (meyering@comco.com)	* Version 1.9.1.	* configure.in [LIBS]: Add -lbsd if that is necessary to get the	syslog function.  With help from Kaveh Ghazi.	* configure.in [LIBS]: Reorganize/unify the code that adds libraries	solely to resolve syslog.  Add a library only if it is required to	resolve the syslog reference.	* configure.in [AC_HAVE_HEADERS]: Check for sys/timeb.h.	getdate.y needs to know.	[LIBS]: Check for initgroups in -los.  This is required by SCO-ODT-3.0	when linking su.	[LIBS]: Check -lufc for crypt.	Reported by Steven W Orr (steveo@world.std.com).Thu Nov 11 23:55:48 1993  Jim Meyering  (meyering@comco.com)	* id.c [NGROUPS_MAX]: Undefine before redefining.	From Kaveh R. Ghazi (ghazi@noc.rutgers.edu).	* who.c (list_entries): Trim any trailing blanks from ut_name	and make sure the string is NUL-terminated before printing it.	Before, `who -q' displayed 8-character names with a tty	(e.g. `q1') suffix.	* stty.c [CFLUSHO]: Move this definition so it follows the	one for VFLUSHO.Mon Nov 08 23:16:36 1993  Jim Meyering  (meyering@comco.com)	* Version 1.9.	* su.c (correct_password): Report an error and fail if getpass	returns NULL.Tue Nov 02 01:14:21 1993  Jim Meyering  (meyering@comco.com)	* acconfig.h: Add comments.	* printenv.c (main): Exit with status == 2 for file error.	* yes.c (main): Restore argv/optind handling -- now that	parse_long_options doesn't change optind.Mon Oct 25 19:22:58 1993  Jim Meyering  (meyering@comco.com)	* basename.c, date.c, dirname.c, echo.c, env.c, expr.c, id.c,	logname.c, nice.c, pathchk.c, printenv.c, printf.c, sleep.c,	stty.c, su.c, tee.c, test.c, tty.c, uname.c, who.c, whoami.c,	yes.c: Use the preferred `--longopt=arg' syntax in --help message	rather than `--longopt arg'.  From Francois Pinard.	* stty.c (main, integer_arg): Don't just call error(1,... about	improper usage.  Call `error (0,...' then usage (1).Sun Oct 24 14:10:23 1993  Jim Meyering  (meyering@comco.com)	* test.c [member]: Don't try to cast index return value to an int.	That can lose on systems with 64-bit pointers.	* long-options.c: Save and restore optind, too.	* long-options.h: New file.	* long-options.c, echo.c, expr.c, printf.c, test.c, yes.c:	Include it instead of duplicating dcls.	* src/Makefile.in: Add dependencies for it.Tue Oct 19 00:26:27 1993  Jim Meyering  (meyering@comco.com)	* expr.c [!__STDC__]: Don't define away `const'.  configure alone	decides whether to do that.  From Francois Pinard.Sat Oct 16 22:32:54 1993  Jim Meyering  (meyering@comco.com)	* whoami.c (main): Cast printf arg UID so it matches the type	expected by %u format no matter how uid_t is defined.	* stty.c: Accept `status' option and VDISCARD as an alias for	VFLUSHO.  From Arne H. Juul (arnej@imf.unit.no).	* basename.c, date.c, dirname.c, echo.c, env.c, expr.c,	false.sh, groups.sh, id.c, logname.c, long-options.c, nice.c,	nohup.sh, pathchk.c, printenv.c, printf.c, sleep.c, stty.c,	su.c, tee.c, test.c, true.sh, tty.c, uname.c, who.c, whoami.c,	yes.c: Using --help gets long well- formatted help.  Now --help	writes to stdout and exits successfully.  From Francois Pinard	<pinard@iro.umontreal.ca>.Wed Oct 13 13:10:27 1993  Jim Meyering  (meyering@comco.com)	* long-options.c: Include sys/types before system.h.	From Franc,ois Pinard (pinard@iro.umontreal.ca).Tue Oct 12 00:53:26 1993  Jim Meyering  (meyering@comco.com)	* stime.c [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>	or "config.h".	* src/Makefile.in [clean]: Also delete '['.Sun Oct 10 14:05:23 1993  Jim Meyering  meyering@comco.com	* false.sh, groups.sh, nohup.sh, true.sh: Add --help and --version.	* src/Makefile.in (false, groups, nohup, true): Substitute the string	from version.c for @VERSION@ in *.sh.Sat Oct  9 23:12:53 1993  Jim Meyering  meyering@comco.com	* configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.Tue Oct  5 22:18:05 1993  Jim Meyering  meyering@comco.com	* tty.c (main): Detect write error.  Use isatty (rather than	testing whether ttyname() is NULL) to determine exit status	because ttyname may return NULL when stdin is a terminal device.	* expr.c (eval7): Rewrite if-else-if-else... sequence to avoid a	spurious `function returns without a value' warning.	* printenv.c (main), tty.c (main): Detect and report write errors.	* echo.c, patchchk.c, printenv.c, printf.c, sleep.c, stty.c, su.c,	tee.c, test.c, tty.c, uname.c, yes.c: Accept --help and --version	options.	* long-options.c: New file.  To let echo, expr, printf, test, and	yes accept --help and --version as unobtrusively as possible.	* src/Makefile.in [SORUCES]: Add it.	* configure.in: Add AC_TIME_WITH_SYS_TIME and AC_STAT_MACROS_BROKEN.	* nice.c (main) [NICE_PRIORITY]: When given an argument, don't	try to get current priority.  nice() requires only the delta;	we don't need to compute the absolute priority as for setpriority.Mon Oct 04 22:15:07 1993  Jim Meyering (meyering@comco.com)	* who.c (print_entry, print_heading, who_am_i):	Cast printf field width arguments to int to avoid warnings.	(idle_string): Cast idle seconds and minutes to int.	Declare functions read_utmp and idle_string to be static.	Don't declare ttyname as static.	* echo.c (just_echo): Use putchar instead of printf.	* expr.c (parse_long_options): New function.	(main): Use it to handle --version and --help properly.	* tee.c (main): Put entire #ifdef inside if-braces to make structure	clearer.	(main, tee): Compare close() != 0 rather than close () == -1.	* pathchk.c (portable_chars_only, dir_ok): Make a couple variables	const.Wed Sep 08 00:07:36 1993  Jim Meyering (meyering@comco.com)	* test.c [advance, unary_advance]: Rewrite using do{...}while(0)	paradigm instead of comma expressions that make Alpha OSFv1.3	C compiler segfault.	* basename.c, date.c, dirname.c, env.c, id.c, logname.c, nice.c:	Add --help and --version options.Sat Jul 24 08:52:18 1993  Jim Meyering (meyering@comco.com)	* configure.in: Check for -lshadow.  Linux needs it when using shadow	passwords.  Reported by Mattias Olofsson <mattias@lysator.liu.se>.Thu May 27 20:05:50 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)	* configure.in (c_line test): Add missing `fi'.Tue May 18 23:49:26 1993  Jim Meyering (meyering@comco.com)	* mkinstalldirs: New file.	* Makefile.in (installdirs): Use it.Thu May 13 01:03:16 1993  Jim Meyering (meyering@comco.com)	* Makefile.in (installdirs): New rules for creating installation	directories. (install): depend on it.Mon May  3 22:09:24 1993  Jim Meyering (meyering@comco.com)	* configure.in: Add AC_GETGROUPS_T.	* id.c, test.c: Don't define GETGROUPS_T.  Now configure does it.Sun May  2 00:21:05 1993  Jim Meyering  (meyering@comco.com)	* expr.c (eval6): Terminate result with a zero byte.	The command `expr substr xx 1 2' would fail on systems with	tight malloc.  From Steve James <smj@cats.COM>.	* expr.c (null): Recognize the string `0' as zero.	(divide, mod): Upon request to divide by zero, give an error	message instead of dumping core.	From J.T. Conklin <jtc@wimsey.com>.	* configure.in: Check for sys/time.h; getdate.y needs it for	structs timeval and timezone on some systems.	* Check for gettimeofday and for `struct tm'.	* Add existence tests for memcpy and bcopy.	* configure.in: Find a parser generator.	* putenv.c: Include stdlib.h only if __GNU_LIBRARY__ is defined.	Many vendor-supplied <stdlib.h> have a declaration of putenv that	conflicts with ours.Tue Apr 20 02:33:24 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)	* stty.c: Use GWINSZ_IN_SYS_IOCTL, not _AIX, to determine	whether sys/ioctl.h is needed to support `stty size'.Thu Apr  1 18:03:47 1993  Jim Meyering  (meyering@comco.com)	* printf.c, expr.c [isascii]: Undefine before redefining.Sun Mar 28 00:07:45 1993  Jim Meyering  (meyering@comco.com)	* stty.c: Accept `flush' option.  From Arne H. Juul arnej@lise.unit.no	* system.h: Don't define r?index, bcopy... if they're already defined.Thu Mar 25 22:41:01 1993  Jim Meyering  (meyering@comco.com)	* configure.in: Add AC_IRIX_SUN to get -lsun because	Irix-4.0.5's libc.a doesn't have yp/NIS entrypoints.	From Kjetil Wiekhorst J|rgensen <jorgens@pvv.unit.no>.Fri Mar 05 00:02:53 1993  Jim Meyering  (meyering@comco.com)	* date.c: Add long-named options.Sun Dec  6 23:17:09 1992  Jim Meyering  (meyering@comco.com)	* date.c: Remove unused definition of isdigit.	* expr.c (toarith): Change single use of isdigit to ISDIGIT.	* printf.c (print_formatted, print_esc): Define ISDIGIT and	ISXDIGIT and use them instead of isdigit and isxdigit.Wed Dec  2 12:49:11 1992  Jim Meyering  (meyering@comco.com)	* env.c, id.c, nice.c, pathchk.c, stty.c, su.c, tee.c, tty.c,	uname.c, who.c: Convert static declarations of struct option	to use new macros from getopt.h: no_argument, required_argument,	and optional_argument.Tue Nov 24 09:46:02 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)	* echo.c: Use V9_DEFAULT instead of USG.  Define it always.	* system.h: Use HAVE_FCNTL_H and HAVE_STRING_H instead of USG.Wed Nov 11 18:19:10 1992  Jim Meyering  (meyering@hal.gnu.ai.mit.edu)	* All files in src: Make all functions and extern variables static.	Make all longopts arrays const as well as static.	Make a couple statically initialized aggregates `const.'	* pathchk.c (portable_chars_only): Cast char used as array index.	* echo.c (main), su.c (restricted_shell): Add parentheses to	assignment statements used in boolean context.	* stty.c (set_mode): Parenthesize expressions with bit operations	to correctly set/reset modes bits.Wed Oct 28 14:16:48 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)	* Version 1.8.	* stty.c: Accept Irix VRPRNT for VREPRINT.	From Jim Meyering.	* stty.c: Fix some type mismatches.  From Bruce Evans, bde@runx.oz.au.	* who.c (read_utmp): Close file on error.	From Bruce Evans.	* su.c, test.c: Add some decls.  From Bruce Evans.	* sleep.c (main): Arg to sleep is unsigned, not long.

⌨️ 快捷键说明

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