summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Mark debug() and fatal() as __printflike() and fix resulting warnings.tg2001-07-3114-42/+42
|
* Sort options, remove unknown option 'f'.tg2001-07-311-68/+67
|
* Add a "X KBytes of wired memory reserved" metric that representsbmilekic2001-07-311-11/+14
| | | | | | | | | approximately the amount of memory allocated from the mbuf maps and sitting in the mbuf allocator's cache containers, and display in parantheses the percentage of said memory that is actually in use at the given time `netstat -m' is executed. Suggested by: mjacob
* Don't use ".nofinger" as a string constant from within the codeyar2001-07-302-1/+3
| | | | since there is the ``pathnames.h'' file; use _PATH_NOFINGER instead.
* - Add some more x86 instructions to emulate,tg2001-07-304-136/+267
| | | | | | | | | | - emulate VGA read mode 0, - emulate VGA write mode 1, - minor cleanup. Protel's Easytrax, a free PCB layout program, almost runs now; there are still some problems with the keyboard emulation, but the graphics are fine (albeit a bit slow).
* - Fix file names <:-(,tg2001-07-301-14/+12
| | | | | | | - attempt to find the X includes and libraries better, - sort some things. Submitted by: bde
* Fixed bitrot in DPADD in previous commit.bde2001-07-302-12/+8
| | | | Fixed some style bugs (mainly disorder).
* Removed garbage "CFLAGS+= -I.". This finishes backing out rev.1.4.bde2001-07-301-3/+0
|
* Update to version 3.36.obrien2001-07-301-1/+7
|
* Update to version 3.36.obrien2001-07-301-2/+6
| | | | | I had to hack print.c due to some new bits that only compile on NetBSD. I could not figure what the analogous FreeBSD bits are.
* Correct the old length argument passed to sysctl to be a pointer to atmm2001-07-291-1/+2
| | | | | | size_t (not to an int). MFC after: 2 days
* Enable the new libmp in the build, and disable libgmp and itsdd2001-07-292-2/+2
| | | | henchmen.
* Properly handle wgetch(3) returning ERR. This prevents an abnormal exitmp2001-07-281-9/+4
| | | | | | | | when a windows resize event (SIGWINCH) occurs. Reported by: John Doe <rhamming2001@yahoo.com> and others on -stable. Reviewed by: dd MFC after: 1 week
* Include value of command line argument that causes an error message orse2001-07-281-6/+9
| | | | | | | warning in said message, since fetch may be run from a makefile or script which does not print the command line. Approved by: des
* Fix the environment handling:markm2001-07-281-12/+11
| | | | | | | | However, there's still a bug in login.c because you copy the environment *before* the call to pam_open_session, which won't set the necessary variables set by /usr/ports/security/pam_ssh. Submitted by: Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
* Prevent chpass(1) from writing -1 in the UID or GID fieldsmike2001-07-263-8/+13
| | | | | | | | | in the password file by properly casting integers. PR: 27757 Reviewed by: des Approved by: des MFC after: 4 days
* When -n is specified, don't attempt to turn hostnames found in utmpbrian2001-07-263-43/+42
| | | | | | | | | | | | | into addresses as we have no idea what address family they belong to. When -n is not specified, resolve IPv6 as well as IPv4 addresses found in the host field of utmp. Use realhostname_sa() to resolve addresses (the old code was wrong). Rename ``x'' to ``x_suffix'' to avoid confusion. Hard code the host column width to 16 (against the imminent increase of UT_HOSTSIZE in utmp.h).
* - Do not handle the per-CPU containers in mbuf code as though the cpuidsbmilekic2001-07-262-19/+12
| | | | | | | | | | | | | | | | | were indices in a dense array. The cpuids are a sparse set and treat them as such, setting up containers only for CPUs activated during mb_init(). - Fix netstat(1) and systat(1) to treat the per-CPU stats area as a sparse map, in accordance with the above. This allows us to properly boot with certain CPUs disactivated. However, if we later decide to re-activate said CPUs, we will barf until we decide to implement CPU spinon/spinoff callback hooks to allow for said CPUs' per-CPU containers to get configured on their activation. Reported by: mjacob Partially (sys/ diffs) Submitted by: mjacob
* Include <sys/kbio.h> or <machine/console.h>, depending on __FreeBSD_version.tg2001-07-261-1/+8
| | | | | | This will reduce diffs to -STABLE. Don't leave an image of the video RAM around.
* Correct font names. Now, how on earth did this work on my system?tg2001-07-261-3/+3
|
* Fix bugs introduced in 1.26:tg2001-07-261-10/+8
| | | | | | | | - restore -I. in CFLAGS - add dependencies of objects on font headers - missing dependencies of font headers on their sources Suggested by: bde
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-2619-54/+73
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Fix 64 bit issues so that sockstat && fstat work correctly on alpha.mjacob2001-07-252-10/+9
| | | | | | PR: 29231 Submitted by: pherman@frenchfries.net MFC after: 2 weeks
* Use sysctl to export multicast routing statsfenner2001-07-251-5/+13
|
* Fix breakage introduced in rev 1.26, with the introduction ofsheldonh2001-07-251-3/+3
| | | | | | | absoluate pathnames starting with /usr/src. This fixes the installworld target for the case where the source tree is not in /usr/src.
* Remove non-existent (missing?) fonts.alias from beforeinstall: targetache2001-07-241-1/+1
|
* Add -I${.OBJDIR} to pick generated font*.hache2001-07-241-1/+1
|
* Expland `mymalloc' with malloc + error checking.obrien2001-07-244-17/+10
|
* Remove the misnamed `xmalloc' and replace its uses with the realloc (alongobrien2001-07-241-19/+11
| | | | with error checking) that it actually was.
* Remove the misnamed `emalloc' and replace its uses with calloc (alongobrien2001-07-241-19/+13
| | | | with error checking) which it effectively was. (malloc+memset)
* Remove emalloc and expand to the malloc + error checking it was, where used.obrien2001-07-243-20/+9
|
* Remove the misnamed `emalloc' and replace its uses with the calloc (alongobrien2001-07-243-26/+14
| | | | with error checking) that it actually was.
* Remove the local basename in favor of the libc version.obrien2001-07-245-43/+22
| | | | Remove xmalloc and xstrdup and do the error checking at the place of use.
* Expland the emalloc to do the testing at the place of mallocing.obrien2001-07-241-16/+6
|
* Expand emalloc in-place, and remove the `rname' basename() implimenation.obrien2001-07-242-24/+6
|
* Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in itsobrien2001-07-245-59/+56
| | | | implementation.
* Replace the local `rname' with the cannonical `basename'.obrien2001-07-244-13/+11
|
* Expand x{malloc,calloc,realloc,strdup} in-place.obrien2001-07-248-79/+169
| | | | (even found some unchecked naked uses)
* yyerror() is a printflike functionkris2001-07-241-1/+1
| | | | MFC after: 1 week
* Clean up the code a bit:tg2001-07-2432-181/+205
| | | | | | | - add $FreeBSD$; - remove unused variables; - add missing headers and prototypes; - -Wshadow.
* Rewrite video emulation. Features:tg2001-07-2416-1583/+3136
| | | | | | | | | | | | | | | | | - slightly more accurate VGA hardware emulation; - more int 10 functions, especially wrt to palette handling; - first shot at graphics support; - mode switching. Bugs: - graphics too slow; - only 16 color modes work for now; - works only under X, and only with 16 bit TrueColor visuals; - far from being genuinely useful (I can play an old EGA game now, though (mahjongg.exe)). Also, the code has been cleaned up a bit (more to come in a separate commit).
* Quiet a [useless] compiler warning.obrien2001-07-231-1/+1
|
* revert last commit. using %option nounput is betterassar2001-07-221-5/+1
| | | | noted by: Seth Kingsley <seth.kingsley@windriver.com>
* Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' frommike2001-07-221-0/+2
| | | | | | | working. Reviewed by: des Approved by: des
* Fix some man page xrefs.mpp2001-07-221-1/+1
| | | | | PR: docs/26065 MFC after: 1 week
* add an unused attribute to yyunput to avoid warnings (errors) whenassar2001-07-211-1/+5
| | | | it's not being used
* o Add phantom's gethostinfo() function to reduce duplicated code.mike2001-07-201-49/+56
| | | | | | | | | | o Increase readability by creating a wrapper for asprintf(3). o Cast isdigit(3) argument to unsigned char for future locale changes. Submitted by: phantom Reviewed by: -audit, des Approved by: des
* o Integrate security enhancements from OpenBSD.mike2001-07-192-42/+74
| | | | | | | | | | | | | | | | | | | | - Don't assume environment variable HOME is not NULL. o Integrate standards compliance from NetBSD. - Allow -- before the command. - Blocking SIGQUIT isn't standards compliant. - Proper exit(3) levels. - Actually append to nohup.out (as documented and required by standard) instead of clobbering it. o Remove some FreeBSD specific access(2) cruft (relating to incorrect appending). o Document the fact that two or more instances of nohup can append to the same file. o Constify; Staticize functions; Set WARNS?=2 Reviewed by: bde Approved by: des Obtained from: NetBSD, OpenBSD MFC after: 9 days
* Portability configuation for LukeM's ftp client.obrien2001-07-191-0/+270
|
* Fixed the race caused by not checking the result of fgets(3):ru2001-07-191-3/+10
| | | | | | | | | | | | /usr/bin/env MALLOC_OPTIONS=J banner </dev/null PR: bin/29074 Fixed the problem when banner(6) would eat last character: echo -n a | banner MFC after: 1 week
OpenPOWER on IntegriCloud