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

📄 changelog.0

📁 实战Linux编程的原代码,希望对学驱动的人能有所帮助
💻 0
📖 第 1 页 / 共 5 页
字号:
Sun May 29 17:40:21 1994  Jim Meyering  (meyering@comco.com)	* long-options.c: Move from src/ to lib/.	* long-options.h: Ditto.	* src/Makefile.in: Remove references to long-options.[ch].	* lib/Makefile.in (SOURCES, OBJECTS): Add long-options.[co].Fri May 27 18:20:18 1994  Jim Meyering  (meyering@comco.com)	* stty.c [VFLUSH && !VFLUSHO]: Define VFLUSH0.	Ultrix's termios.h defines VFLUSH, but not VFLUSHO.	From Kjetil Torgrim Homme <kjetilho@ifi.uio.no>.Thu May 26 08:46:32 1994  Jim Meyering  (meyering@comco.com)	* configure.in [INSTALL]: Revert change of March 8.  autoconf	has fixed this.Thu May 19 01:10:20 1994  Jim Meyering  (meyering@comco.com)	* Version 1.10.	* lib/Makefile.in (DISTFILES): Add getdate.c and posixtm.c.	* src/Makefile.in (users.c): Use cp if hard link fails.	From Ian Lance Taylor.	* Makefile.in (dist): Change package name from shellutils to sh-utils.	That allows a hyphen and 5-character version number without exceeding	the 14-character limit on file name length.  shellutils-1.10 would	have been too long.	* version.c: Update package name.	* hostname.c: Include <sys/types.h> before "system.h".	From Kaveh Ghazi and Karl Berry.	* hostname.c (sethostname) [!HAVE_SETHOSTNAME && HAVE_SYSINFO &&	HAVE_SYS_SYSTEMINFO_H && HAVE_LIMITS_H]: New function.  SVR4 systems	prefer sysinfo over sethostname.	* configure.in (AC_HAVE_FUNCS): Add sysinfo.	(AC_HAVE_HEADERS): Add sys/systeminfo.h.	From Kaveh Ghazi.Fri May 13 09:45:23 1994  Jim Meyering  (meyering@comco.com)	* lib/xgethostname.c (xgethostname): Call xmalloc outside the loop.	Correct loop termination condition.	* pwd.c: Include <sys/types.h> before "system.h".	From Kaveh Ghazi.	* {lib,man,src}/Makefile.in (Makefile): Use ../config.status	instead of $(srcdir)/../config.status.  The latter didn't work	for builddir != srcdir.  From Kaveh Ghazi.	* Makefile.in (Makefile): Remove dependencies on */Makefile.in.	Change the rule so running config.status creates only Makefile.	(stamp-config): Have config.status generate only config.h.	* {lib,man,src}/Makefile.in (Makefile): Add single dependency on	Makefile.in and rule to make config.status create only Makefile.	* hostname.c: New program.	* hostname.1: New file.	* Makefile.in (PROGS): Add hostname.	(SOURCES): Add hostname.c	* src/Makefile.in: Add rules and dependencies for hostname.	* configure.in (AC_HAVE_FUNCS): Add sethostname.	* pathchk.c (validate_path) [lint]: Initialize a variable to	suppress `used before initialized' warning.	* who.c: Correct gethostname prototype to indicate the function	returns int, not char.Sun May 01 08:38:18 1994  Jim Meyering  (meyering@comco.com)	* who.c: Add #ifdefs to build the `users' executable.	* src/Makefile.in: Add corresponding rules.	* Makefile.in (PROGS): Add users.	From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.	* users.1: Document it.Thu Apr 28 00:45:02 1994  Jim Meyering  (meyering@comco.com)	* pwd.c: New program.	* pwd.1: New file.	* Makefile.in (PROGS): Add pwd.	* lib/Makefile.in: (DISTFILES): Add pathmax.h.	(SOURCES, OBJECTS): Add xgetcwd.c and xgetcwd.o respectively.	* src/Makefile.in: Add rules and dependencies for pwd.	* yes.c: Don't include version.h.Mon Apr 18 19:54:24 1994  Jim Meyering  (meyering@comco.com)	* documentation: Change uses of `pathname' and `path' as per	GNU standards.	* long-options.c (parse-long-options): Take a new argument,	command_name, for use in --version output.	* basename.c, dirname.c, echo.c, expr.c, printf.c, stty.c, test.c,	yes.c (main): Update callers.Wed Mar 30 08:53:21 1994  Jim Meyering  (meyering@comco.com)	* configure.in: Use AC_SET_MAKE.	* Makefile.in: Edit MAKE assignments into @SET_MAKE@.Fri Mar 25 01:13:42 1994  Jim Meyering  (meyering@comco.com)	* configure.in: Use AC_VERBOSE, AC_CHECKING, and AC_WARN instead	of explicit echo commands.	When checking for shadow password routines, make sure the function	getspnam is available before defining HAVE_SHADOW_H.	<dvldbg@cs.umu.se> reported that shadow.h exists on some	linux system that did not have the function.Tue Mar  8 10:29:13 1994  Jim Meyering  (meyering@comco.com)	* configure.in [INSTALL]: When AC_PROG_INSTALL resorts to setting	this to `./install.sh', make it `../install.sh' instead since that	script will be invoked only from subdirectories.	[WINSIZE_IN_PTEM]: Check for this unconditionally, rather than	only when TIOCGWINSZ is not defined through termios.h.  The old	method loses on SCO ODT 3.0 systems.Sat Feb 19 14:23:14 1994  Jim Meyering  (meyering@comco.com)	* Version 1.9.4.	* stty.c (main): Use getopt_long_only with "ag" instead of	getopt_long with "".  The latter incremented optind so the	-a and -g options weren't recognized.	* Version 1.9.3.Tue Feb 15 18:28:28 1994  Jim Meyering  (meyering@comco.com)	* stty.c (main): Use getopt only to recognize long options.	Hand code the loop to detect -a, -g, -ag and -ga.  Using getopt	to detect the short options loses (because we have to ignore	unrecognized options and we are allowing GNU getopt to permute)	because e.g. `-tabs' is interpreted as a group of options, one of	which is `-a'.  Before, running `stty -tabs echo' gave this error:	  stty: when specifying an output style, modes may not be set	Reported by Arne H. Juul.Sun Feb 13 13:34:25 1994  Jim Meyering  (meyering@comco.com)	* basename.1, dirname.1, stty.1: Reflect usage changes.	* basename.c, dirname.c, stty.c (usage): Ditto.	* long-options.h (parse_long_options): Invoke usage function	argument with explicit dereference as per GNU coding standards.	* basename.c dirname.c: Use parse_long_options instead of the	conventional getopt_long paradigm.  Before, the commands	`basename file-dist -dist' and `basename -- file.c .c' produced	incorrect results.  Now, even `basename -file-dist -dist' works	and the command `basename -- file.c .c' fails for the right	reason: the `--' is not a special (to getopt) token for these	commands.  It is interpreted as the filename, so there are too	many arguments to basename.  Rick Sladkey <jrs@world.std.com>	reported the problem with basename.	* stty.c (set_window_size): When stty fails to get the window size	(as happens on telnet sessions to Solaris systems), initialize all	fields of the winsize struct.  Before, it was using the uninitialized	pixel fields of the struct in the ioctl to set window size parameters.	From Rick Sladkey.	* stty.c (main): Use parse_long_options to handle --help and --version.	(main): In the remaining getopt_long loop, don't jump out of the	loop from the `default' branch of the switch statement.  Doing that	left optind in an inconsistent when there were non-option arguments	preceding `reversed' arguments (e.g. stty echo -echoe) and the	preceding non-option arguments were ignored.  Rick Sladkey reported	that stty was ignoring arguments.	* stty.c (main): Fail with a diagnostic when both -g and -a are given.	(main): Fail with a diagnostic when either -g or -a is used with	arguments for setting modes.Fri Feb 11 19:39:37 1994  Jim Meyering  (meyering@comco.com)	* stty.c (get_win_size): Don't use an ANSI-style function	definition.  From Kaveh R. Ghazi <ghazi@noc.rutgers.edu>.Thu Feb 10 01:22:37 1994  Jim Meyering  (meyering@comco.com)	* stty.c [CSWTCH] (__sparc__ && __svr4__): Define `swtch' to	_POSIX_VDISABLE by default.  Otherwise, the default settings on	SunOS 5.3 (from /usr/include/sys/termios.h) have both `swtch'	and `susp' set to ^Z.  Those default settings are not unusual.	What is unusual is that with such settings on SunOS 5.3, the tty	driver doesn't generate a signal for control-Z.  Reported by	Brent Wiese <brent@dot.imgen.bcm.tmc.edu>.	* stty.c (main) [CIBAUD]: Don't report an error on SunOS 4.1.x	systems if the only difference is in this nybble of c_cflag.	See the comments for the gory details.  Thanks to	Erez "HWank1" Zadok <ezk@cs.columbia.edu> for reporting this	and helping me reproduce it.Tue Feb 01 00:59:56 1994  Jim Meyering  (meyering@comco.com)	* stty.c (main): Call tcsetattr only if we've updated tty modes,	not e.g. if we've changed the window size.	* Update Copyright dates in src/*.Fri Jan 28 11:02:21 1994  Jim Meyering  (meyering@comco.com)	* configure.in: Don't set LDFLAGS since linking now uses both	LDFLAGS and CFLAGS.Wed Jan 26 10:54:02 1994  Jim Meyering  (meyering@comco.com)	* stty.c (get_win_size): New function.  Try getting size first	for the device on stdout.  Try stdin only if that fails.  Suggested	by Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.	(set_win_size): Call get_win_size instead of calling ioctl directly.	(display_window_size): Ditto.	(screen_columns): Ditto.Mon Jan 24 22:57:18 1994  Jim Meyering  (meyering@comco.com)	* stty.c (set_window_size): Work around SunOS 4.x kernel bug that	makes `stty rows 34 cols 80;stty rows 0;stty cols 0' incorrectly	set rows to 80 and columns to 0.  Sun's stty has this problem, too.	The kernel bug is fixed in Solaris 2.  Mostly from Alexander Dupuy	<dupuy@cs.columbia.edu>.	* src/Makefile.in: Use both LDFLAGS and CFLAGS when linking.	* man/Makefile.in: Use binprefix as the default manprefix.	* nohup.sh: Redirect usage message to stderr.	From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.Thu Jan 13 17:27:38 1994  Jim Meyering  (meyering@comco.com)	* src/Makefile.in: Change all link commands to use both $(CFLAGS)	and $(LDFLAGS).Mon Jan 10 01:20:38 1994  Jim Meyering  (meyering@comco.com)	* man/Makefile.in (manprefix): Use binprefix as the default.Thu Jan 06 18:19:06 1994  Jim Meyering  (meyering@comco.com)	* who.c (print_entry): Prepend `/dev/' only if ut_line is not	already an absolute filename.  Just to be safe.Fri Dec 31 00:22:59 1993  Jim Meyering  (meyering@comco.com)	* date.c (usage): Reorder listing of % formats in `sort -f' order.Tue Dec 28 15:49:32 1993  Jim Meyering  (meyering@comco.com)	* install.sh: New file.	Makefile.in [DISTFILES]: Add it.	* who.c (read_utmp): Use stdio functions instead of open/read/close	to avoid having to handle POSIX read's -1/errno=EINTR failure case.	* tee.c (tee): A POSIX implementation of the read system call	may return -1 and set errno to EINTR when it is interrupted.	Retry instead of failing with an error.	(tee): Don't use xwrite.  Use full_write instead and include the	losing file name in the message reporting a write failure.	Don't treat standard output as a special case, so a failed write	to stdout doesn't exit immediately.	* date.c (usage): Note that for %w, 0 corresponds to Sunday.Sat Dec 25 23:15:58 1993  Jim Meyering  (meyering@comco.com)	* who.c (main): Don't chdir ("/dev") for the stat in print_entry.	(print_entry): Instead of stat'ing the /dev-relative path, ut_line,	stat the absolute path with "/dev/" prefix.  From David MacKenzie.Wed Dec 22 00:53:51 1993  Jim Meyering  (meyering@comco.com)	* expr.c (toarith): Interpret the empty string as just that	rather than as the integer zero.	Before, `expr "" == 0' output 1.  Now it prints 0.	* configure.in (AC_HAVE_HEADERS): Check for float.h for strtod.c.	* configure.in (check for TIOCGWINSZ): Don't look in sys/ioctl.h	or sys/ptem.h if we've already found it in termios.h.  This	eliminates redefinition warnings from including both termios.h	and sys/ioctl.h on sytems running SunOS.  From Matthew Seaman	(matthew@dyson.ox.ac.uk).	* date.1: Document new %s format and old `-' and `_' numeric field	modifiers.	* memcmp.c: Use the latest version from GNU C library.Mon Dec 20 23:29:30 1993  Jim Meyering  (meyering@comco.com)	* configure.in [test for 8-bit clean memcmp]: Add a test to detect	losing memcmp from SunOS4.1.x.  From Robert H. de Vries	<robert@and.nl>.Sat Dec 18 01:12:24 1993  Jim Meyering  (meyering@comco.com)	* configure.in (AC_OUTPUT): Put `touch stamp-config' in second arg	so it goes in config.status.  This eliminates unnecessary second run	of configure.Fri Dec 10 01:06:28 1993  Jim Meyering  (meyering@comco.com)	* stty.c (screen_columns): Instead of dying just because Solaris'	`ioctl (0, TIOCGWINSZ' fails (strangely only for telnet sessions,	not rlogin sessions), ignore its errno == EINVAL and try to get	the number of columns another way.	* stty.c (set_window_size): If ioctl to get window size fails,	(as on telnet sessions to Solaris 2.[12] systems) try to set the	requested fields anyway, setting to zero any unspecified fields.	This is what Sun's /bin/stty appears to do.	* (display_window_size): Don't display anything for the number	of rows and columns if the ioctl call intended to get them fails.Tue Nov 30 23:58:54 1993  Jim Meyering  (meyering@comco.com)	* Version 1.9.2.Mon Nov 29 00:28:35 1993  Jim Meyering  (meyering@comco.com)	* stty.c, configure.in, acconfig.h: Revert change of Nov 26.	I am no longer able to reproduce the behavior that prompted	that patch -- but I had tested only using an old version of gcc.	When building with a more recent version of gcc or with /bin/cc	there is no problem.Sat Nov 27 15:11:21 1993  Jim Meyering  (meyering@comco.com)	* nice.c (main): If an adjustment is specified, but no command is

⌨️ 快捷键说明

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