summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Use bsd.nls.mk for building/installing NLS filesphantom2002-03-041-9/+5
|
* (x)lint(1) works; re-enable it.markm2002-03-031-0/+1
|
* Merge conflicts, fix Makefiles and remove (re)moved file(s).markm2002-03-0317-1328/+1598
|
* This commit was generated by cvs2svn to compensate for changes in r91586,markm2002-03-0338-546/+2343
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of NetBSD's (x)lint, snapshotted at 2002-3-3.markm2002-03-0356-1886/+4045
| |
* | Temporarily remove lint(1) from the build until the import and mergemarkm2002-03-031-1/+0
| | | | | | | | of the MFN (Merge from NetBSD) is complete.
* | Consistently refer to the trace file of ktrace as 'trfile'.keramida2002-03-031-3/+3
| | | | | | | | | | PR: docs/35361 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
* | properly handle zero length first string when doing -calfred2002-03-021-0/+1
| | | | | | | | | | PR: 34663 MFC After: 3 days
* | Add a new "-y" flag which causes the year to be included in theiedowse2002-03-012-5/+13
| | | | | | | | | | | | | | | | | | | | session start time. This is useful when looking at old or long-running wtmp files. PR: bin/12982 Obtained from: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>, keramida Reviewed by: keramida MFC after: 1 week
* | Oops, unbreak the -d and -<n> options. The `snapfound' variableiedowse2002-03-011-11/+5
| | | | | | | | | | | | needs to be retained across entries, and we need to exit(), not return from doentry() when `maxrec' reaches 0. Move the code for processing `maxrec' into printentry() for simplicity.
* | Split up the big wtmp() function to avoid long lines and codeiedowse2002-03-011-151/+153
| | | | | | | | duplication.
* | Correct St. David's day: it's celebrated outside Cardiff.grog2002-02-281-1/+1
| |
* | Fix vendor ID (mostly obtained from rev 1.1).mike2002-02-281-21/+23
| | | | | | | | | | | | Make use of `static' storage-class for local functions. Replace uses of `u_quad_t' with `uintmax_t'.
* | Use SIGUSR1 to propogate SIGURG to the child; security measures preventfenner2002-02-271-2/+3
| | | | | | | | | | the parent from sending SIGURG itself to the child. This fixes the problem of occasionally failing to pass the window size.
* | Improve error reporting - report error message when there is one, orfenner2002-02-271-1/+4
| | | | | | | | report a short read if that's what we're reporting.
* | 1) Remove -Wall from Makefile.dwmalone2002-02-279-71/+80
| | | | | | | | | | | | 2) WARNs fixes (rename option to lookup_option to avoid shadowing, rename argv to argv1 to avoid shadowing, const stuff, prototypes, __unused). 3) Remove "register"s.
* | 1) Don't use -Wall in Makefile.dwmalone2002-02-272-32/+34
| | | | | | | | | | | | | | 2) Don't compile vendor ID. 3) WARNS=4 fixes (constness, make a global local to avoid shadowing, unused parameters, rename local to avoid shadowing, remove junk after #endif) 4) remove some "register"s.
* | 1) Move FreeBSD ID below vendor ID and don't compile vendor ID.dwmalone2002-02-271-9/+10
| | | | | | | | | | | | 2) Cast some numbers we know to be positive to size_t before we MIN them with the result of a sizeof. 3) Compare result of inet_addr to INADDR_NONE, not -1.
* | Add missing "#include <string.h>" for memcmp, noticed by gcc3.dwmalone2002-02-271-0/+1
| |
* | 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.dwmalone2002-02-271-5/+7
| | | | | | | | 2) Add missing include of stdlib.h for exit(), spotted by gcc3.
* | 1) Remove blank line between include of sys/cdefs.h and __FBSDIDdwmalone2002-02-271-2/+1
| | | | | | | | 2) compare return value of inet_addr to INADDR_NONE rather than -1.
* | Avoid a null-pointer dereference which occurred when emulating DOSrobert2002-02-261-0/+2
| | | | | | | | | | | | | | interrupt 0x10 function 0x00 without dpy int tty.c being set. PR: 35147 Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
* | - Emulate instructions prefixed with 'rep' correctly: set the CXrobert2002-02-261-0/+1
| | | | | | | | | | | | | | register to zero. Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at> PR: 35147
* | Thoreau listed twice.cjc2002-02-251-3/+2
| | | | | | | | | | | | | | | | Give RFK's fullname and place of birth. Spell 'Wiener' correctly and add place of birth. PR: misc/35305 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
* | Add myself.jmallett2002-02-251-0/+1
| | | | | | | | | | Reviewed by: mike Approved by: mike
* | #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-0/+2
| | | | | | | | | | <sys/stat.h> for the declaration of struct timeval. Intentionally don't follow the local style of polluting the local headers.
* | Unremoved used includes. <sys/time.h> is needed if <sys/stat.h> isn'tbde2002-02-251-0/+2
| | | | | | | | | | polluted, and <sys/types.h> is strictly a prerequisite for <sys/stat.h> untiil we drop support for pre-2001 versions of POSIX.
* | #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-2/+2
| | | | | | | | | | | | | | | | | | <sys/stat.h> for the declaration of struct timeval. Removed unused includes (<time.h> doesn't declare anything of interest; only <sys/time.h> does). Sorted includes a bit.
* | #include <sys/time.h> instead of depending on namespace pollution inbde2002-02-251-7/+8
| | | | | | | | | | | | | | | | <sys/stat.h> for the declaration of struct timeval (sys/stat.h> only needs timespecs even when its POSIX support is not turned on, so it shouldn't declare timevals). Fixed some #include messes.
* | Correct name spelling for one of the people who share my birthday.grog2002-02-241-1/+1
| | | | | | | | | | PR: docs/35274 Submitted by: nivit@libero.it (Nicola Vitale)
* | ctags would create a corrupt tags file if the source C file used '//' stylegshapiro2002-02-243-13/+16
| | | | | | | | | | | | | | | | | | | | | | comments such as: // The main() function Teach ctags about this style of commenting. Submitted by: Eric Allman <eric@Sendmail.ORG> MFC after: 1 week
* | 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
OpenPOWER on IntegriCloud