summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors. In printgprof.c, also convert the scalebde2002-02-214-39/+39
| | | | | | without possibly losing lots of precision, and print the scale using %g instead of %d in case it is non-integral. %g might not be the best format for this.
* Added missing copyright. Obtain one and a vendor id from gprof.c. aout.cbde2002-02-212-2/+83
| | | | | | | was split off from gprof.c in rev.1.7 of the latter. elf.c is mostly new, but the old copyright sort of applies to it and is better than none. Use __FBSDID() for the FreeBSD id.
* Fixed a missing variable declaration so that gprof compiles with -DDEBUG.bde2002-02-211-0/+3
|
* Moved the definition of the machine-independent macro UNITS_TO_CODEbde2002-02-2111-9/+12
| | | | | | | | | | from <number of machines> machine-dependent headers to the one non-header here it is used so that it is easier to fix. This macro just divides the machine-dependent offset OFFSET_OF_CODE by the machine-independent scale factor sizeof(UNIT), as required for bug for bug compatibility with the scaling of pc's in gprof.c. UNIT is the type of a profiling counter, and its size has nothing to do with the correct scale factor except both are usually 2.
* Use new ID scheme.mike2002-02-212-9/+24
| | | | | | | Fix env(1)'s exit status to conform with SUSv3. Submitted by: Tim Robbins <tim@robbins.dropbear.id.au> MFC after: 2 weeks
* make(1) claims to ignore the remainder of a conditional once its valuecjc2002-02-201-1/+1
| | | | | | | | | | | | | | | | | | has been determined similar to C. That is, one expects a construction like, .if defined(TEST) && (${TEST:L} == "test") Never to generate an error since the second expression should never be evaluated when TEST is undefined. However, this was not the case. The above fails with the current make(1) if TEST is undefined. This patch fixes the above and many similar cases. PR: bin/34032 Submitted by: Alan Eldridge <alane@geeksrus.net> MFC after: 1 week
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-193-1/+10
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-183-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-3/+17
|
* Ensure err is a useful value to prevent using fputs() with a NULL stream.jedgar2002-02-171-0/+1
| | | | MFC after: 1 week
* Don't rely on <sys/signal.h> to include <sys/ucontext.h>.deischen2002-02-171-0/+1
|
* Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to aobrien2002-02-172-5/+19
| | | | | | | | non-empty string in the environment; we indicate which objects caused each object to be loaded. PR: 30908 Submitted-by: Mike Meyer <mwm@mired.org>
* This commit was generated by cvs2svn to compensate for changes in r90744,jmallett2002-02-162-0/+835
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import OpenBSD m4 as of today.jmallett2002-02-167-446/+1907
| |
| * Import OpenBSD m4 as of today.jmallett2001-11-161-109/+224
| |
| * Import OpenBSD m4 as of today.jmallett2001-09-271-18/+66
| |
| * Import OpenBSD m4 as of today.jmallett2001-09-181-2/+10
| |
| * Import OpenBSD m4 as of today.jmallett1999-11-091-0/+3
| |
* | If downloading to a temporary file, set the timestamp on the temp file, notdes2002-02-161-2/+2
| | | | | | | | | | | | | | | | on the file we're replacing. PR: bin/34992 Submitted by: Shunichiro Ariura <syun1rou@blackshell.org> MFC after: 1 week
* | Add header to prototype exit(3). Fix a style bug.mike2002-02-161-0/+2
| |
* | Un-deprecate the -p option. We now have two ways to output to stdout:mike2002-02-162-4/+0
| | | | | | | | | | | | `-o /dev/stdout' or `-p'. Requested by: grog, nectar
* | * Don't SEGFAULT on attempt to write nothing (if no source files werephantom2002-02-131-1/+4
| | | | | | | | | | | | | | specified) * Don't print currline if it's NULL MFC after: 3 days
* | Add myself.yoichi2002-02-111-0/+1
| |
* | Describe the '+' option in the -t trace string.roam2002-02-111-0/+3
| | | | | | | | | | | | | | | | PR: 34668 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> Reviewed by: dd Approved by: dd MFC after: 1 week
* | Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.markm2002-02-0821-25/+0
| |
* | Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-0865-65/+0
| | | | | | | | help the GCC3 transition and CURRENT in general.
* | Fix the code that selects the default binary type if the actual type can'tdes2002-02-081-3/+3
| | | | | | | | | | | | | | | | be determined. PR: bin/34698 Submitted by: (in part) Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> MFC after: 1 weeks
* | GRR. Unbreak WARNS=2.peter2002-02-081-1/+1
| | | | | | | | | | | | | | | | | | cc1: warnings being treated as errors usr.bin/finger/lprint.c: In function `lprint': usr.bin/finger/lprint.c:191: warning: precision is not type int (arg 2) *** Error code 1 Pointy hat to: markm
* | GRR. This was not WARNS=2 clean. You cannot printf a 'long' withpeter2002-02-081-1/+1
| | | | | | | | | | | | | | | | '%qd'. usr.bin/du/du.c:288: warning: long long int format, long int arg (arg 2) Pointy hat to: markm
* | Inspect ELF header and reject any non-FreeBSD shared objects.sobomax2002-02-081-1/+7
| | | | | | | | MFC after: 2 weeks
* | add missing <string.h> to give strcpy() a prototypegallatin2002-02-081-0/+1
| |
* | Add myself.maxim2002-02-071-0/+1
| | | | | | | | | | Reviewed by: ru Approved by: ru
* | Backout -Werror protection. No need to walk all over the upcomingmarkm2002-02-061-1/+0
| | | | | | | | GCC3 changeover.
* | ANSIfy and remove some dead code.des2002-02-061-23/+13
| | | | | | | | Sponsored by: DARPA, NAI Labs
* | Apply the following mechanical transformations in preparation fordes2002-02-066-56/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* | The clnt_create(KEYSERVSOCK, CRYPT_PROG, CRYPT_VERS, "unix") hacksalfred2002-02-053-24/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | were removed and replaced them with clnt_tp_create, now the af_local support is fixed. I also removed the hack how rpcinfo contacted rpcbind, now we can relay on clnt_tp_create create the client-handle for us. Only rpcbind itself needs a hardcoded socket-path. Submitted by: mbr Also add $FreeBSD
* | Allow ldd(1) be used on shared libraries in addition to executables.sobomax2002-02-042-3/+14
| |
* | GC meaningless assignment.sobomax2002-02-041-1/+1
| | | | | | | | MFC after: 3 days
* | Silence some WFORMAT=1 warningskris2002-02-041-3/+3
| |
* | Mark a function as __printflike()kris2002-02-041-1/+1
| | | | | | | | MFC after: 1 week
* | Use new ID scheme.mike2002-02-031-25/+20
| | | | | | | | | | | | | | | | Fix a bug that caused .br domains to be queried twice, by only recursively following ARIN referrals when querying ARIN. PR: 34291 MFC after: 7 days
* | Complete bzip2-1.0.2 import.sobomax2002-02-012-3/+25
| | | | | | | | MFC in: 14 days
* | Add -a option (SUSv3) to split(1).mike2002-02-012-11/+49
| | | | | | | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC after: 1 month
* | Still with asbestos longjohns on, completely PAMify login(1) and removedes2002-01-304-552/+392
| | | | | | | | | | | | code made redundant by various PAM modules (primarily pam_unix(8)). Sponsored by: DARPA, NAI Labs
* | Back out rev 1.78, which is incorrect now that the PAM modules have beendes2002-01-291-3/+2
| | | | | | | | fixed to accept a NULL PAM_RHOST.
* | Add -o option (POSIX.1-2001) to uudecode(1). Deprecate the -p optionmike2002-01-272-6/+44
| | | | | | | | | | | | | | | | (which allows one to redirect output to stdout); `-o /dev/stdout' is recommended instead. Submitted by: Joseph Mallett <jmallett@xMach.org> MFC after: 2 weeks
* | Make usage message and man page synopsis reflect the fact that -ndwmalone2002-01-242-3/+5
| | | | | | | | | | | | | | | | and -c are mutually exclusive. PR: 34233 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 3 days
* | Add new option HAVE_STRERROR to CFLAGS.dwmalone2002-01-241-1/+1
| |
* | Don't set PAM_RHOST, this is a local login.des2002-01-241-5/+1
| | | | | | | | Sponsored by: DARPA, NAI Labs
* | Show arguments of command line optionscharnier2002-01-221-11/+21
| | | | | | | | Reviewed by: ru
OpenPOWER on IntegriCloud