aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police:Ruslan Ermilov2002-11-261-1/+3
| | | | | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re Notes: svn path=/head/; revision=107282
* mdoc(7) police: markup and spelling.Ruslan Ermilov2002-11-261-4/+7
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107277
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-2621-65/+58
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107276
* mdoc(7) police: back out unproved changes from previous revision.Ruslan Ermilov2002-11-261-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107269
* mdoc(7) police:Ruslan Ermilov2002-11-261-8/+8
| | | | | | | | | | Restore (once again) my fixes from revision 1.20 that got lost in revision 1.25 merge. Approved by: re Notes: svn path=/head/; revision=107268
* mdoc(7) police: laundry.Ruslan Ermilov2002-11-261-120/+152
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107267
* mdoc(7) police: nit.Ruslan Ermilov2002-11-261-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107265
* mdoc(7) police: back out unproved changes in previous revision;Ruslan Ermilov2002-11-261-4/+4
| | | | | | | | | | descriptions in the FILES section should be full sentences, as demonstrated in mdoc(7) and /usr/share/examples/mdoc/. Approved by: re Notes: svn path=/head/; revision=107264
* mdoc(7) police: markup nits, "The .Nm utility".Ruslan Ermilov2002-11-261-17/+12
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107263
* mdoc(7) police: bump document date, use the canonical option list width,Ruslan Ermilov2002-11-261-17/+11
| | | | | | | | | removed a bunch of extraneous .Pp and .Dq calls. Approved by: re Notes: svn path=/head/; revision=107262
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-17/+5
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107261
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-15/+7
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107260
* mdoc(7) police: markup polishing.Ruslan Ermilov2002-11-261-3/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107259
* Make this work under non-C locales.Ruslan Ermilov2002-11-251-4/+5
| | | | | | | | PR: misc/45460 Approved by: re Notes: svn path=/head/; revision=107224
* The second try a committing the bluetooth codeJulian Elischer2002-11-204-0/+579
| | | | | | | | | | | | | | | | | | | Has been seen to work on several cards and communicating with several mobile phones to use them as modems etc. We are still talking with 3com to try get them to allow us to include the firmware for their pccard in the driver but the driver is here.. In the mean time it can be downloaded from the 3com website and loaded using the utility bt3cfw(8) (supplied) (instructions in the man page) Not yet linked to the build Submitted by: Maksim Yevmenkin <myevmenk@exodus.net> Approved by: re Notes: svn path=/head/; revision=107120
* Be more careful when parsing arguments.Eric Melville2002-11-201-2/+6
| | | | | | | | PR: 45476 MFC after: 5 days Notes: svn path=/head/; revision=107110
* Add description of a number of "default" files that have been addedGreg Lehey2002-11-191-1/+19
| | | | | | | over the last few years. Notes: svn path=/head/; revision=107079
* Add file for South African holidays.Greg Lehey2002-11-193-6/+25
| | | | | | | Submitted by: Tony Harverson <Tony@epages.net> Notes: svn path=/head/; revision=107077
* Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.Ruslan Ermilov2002-11-181-3/+8
| | | | | | | | | This has slipped through the cracks of The Great Perl Script Rewrite. Repocopied by: joe Notes: svn path=/head/; revision=107053
* A little bit of anti-foot-shooting. Use utimes(2) rather thanPeter Wemm2002-11-151-8/+11
| | | | | | | | | | | | the deprecated utime(3). utimes(2) uses timeval, but utime(3) uses time_t's. If you do bad things (like I did) by mixing up include files with libc, then install can do strange things if you mismatch the time_t stuff. utime() is emulated entirely within libc. Approved by: re (jhb) Notes: svn path=/head/; revision=106967
* utmp.ut_time and lastlog.ll_time are explicitly int32_t rather thanPeter Wemm2002-11-151-3/+5
| | | | | | | | | | | | | | | time_t. Deal with the possibility that time_t != int32_t. This boils down to this sort of thing: - time(&ut.ut_time); + ut.ut_time = time(NULL); and similar for ctime(3) etc. I've kept it minimal for the stuff that may need to be portable (or 3rd party code), but used Matt's time32 stuff for cases where that isn't as much of a concern. Approved by: re (jhb) Notes: svn path=/head/; revision=106966
* Don't set atime / mtime if we don't have an output file, which can happenDag-Erling Smørgrav2002-11-131-2/+2
| | | | | | | in certain failure scenarii (mostly DNS trouble). Notes: svn path=/head/; revision=106857
* Take __FreeBSD_version into account when BOOTSTRAPPING.Ruslan Ermilov2002-11-133-10/+10
| | | | Notes: svn path=/head/; revision=106852
* Don't divide by zero to calculate the ETA, even if we haven't gottenBill Fenner2002-11-121-1/+1
| | | | | | | any data in 30 seconds. Notes: svn path=/head/; revision=106796
* kenv(1) is WARNS=6 clean.Maxime Henrion2002-11-111-1/+1
| | | | Notes: svn path=/head/; revision=106774
* Add support for the Latin American and Caribbean IP address RegionalMike Barcroft2002-11-102-6/+16
| | | | | | | | | | | | Registry (LACNIC) with the -l option and support for recursive IP address searches. PR: 44448 Submitted by: David Wolfskill <david@catwhisker.org> MFC after: 1 week Notes: svn path=/head/; revision=106735
* o Build truss on all architectures.Marcel Moolenaar2002-11-101-5/+7
| | | | | | | | o xlint is still excluded from the ia64 build, but now in a way that doesn't corrupt ordering for other platforms. Notes: svn path=/head/; revision=106717
* Port to ia64. It builds, but usability is very limited.Marcel Moolenaar2002-11-103-0/+349
| | | | Notes: svn path=/head/; revision=106716
* Various cleanups of truss:David Malone2002-11-096-97/+121
| | | | | | | | | | | | | | 1) Missing include. 2) Constness. 3) ANSIfication. 4) Avoid some shadowing. 5) Add/clarify some error messages. 6) Some int functions were using return without a value. 7) Mark some parameters as unused. 8) Cast a value we know is non-negative to a size_t before comparing. Notes: svn path=/head/; revision=106713
* Check if name is NULL before we strcmp the syscall name. This wasDavid Malone2002-11-091-1/+1
| | | | | | | | sometimes triggered if you began trussing a process while it was in a syscall, as the name is filled in when the syscall is made. Notes: svn path=/head/; revision=106712
* #include <err.h> to make yes warns clean again.David Malone2002-11-091-0/+1
| | | | Notes: svn path=/head/; revision=106706
* Convert some broken cases where Error is called, but we try to continue,Juli Mallett2002-11-081-17/+5
| | | | | | | | | | | | | | | to Fatal errors, because the logic that we use to try to continue is far too broken, and makes things look and act weird, because we end up pointing past the end of a buffer boundry into freed memory in the caller, as we don't come close to setting the lengthPtr to a sane value. Reviewed by: make@ (This only changes failure cases which would have died horrid deaths to explicit clean death failure cases.) Notes: svn path=/head/; revision=106642
* Detect and exit on write errors.Tim J. Robbins2002-11-081-4/+7
| | | | Notes: svn path=/head/; revision=106608
* Don't exit with success after timeout during authentication.Bill Fenner2002-11-071-0/+4
| | | | Notes: svn path=/head/; revision=106586
* Remove entry for All Saints' in Portugal. While it's correct, AllGreg Lehey2002-11-031-1/+0
| | | | | | | | Saints' is celebrated in all Christian countries, and there's already another entry. Notes: svn path=/head/; revision=106366
* Another buffer overflow similar to the recent one in mkstr(1).Tim J. Robbins2002-11-011-0/+2
| | | | Notes: svn path=/head/; revision=106296
* Remove claim that pi and ex use mkstr; pi is long gone, and nex doesn'tTim J. Robbins2002-11-011-6/+1
| | | | | | | use it. Notes: svn path=/head/; revision=106295
* Zap another buffer overflow, this time in the parser.Tim J. Robbins2002-11-011-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=106294
* Avoid buffer overflow when constructing filenames.Tim J. Robbins2002-11-011-3/+13
| | | | Notes: svn path=/head/; revision=106293
* Document the confusing behavior that the .if conditional defaultsRuslan Ermilov2002-11-011-0/+1
| | | | | | | | to defined(), e.g., ``.if 1'' is equivalent to ``.if defined(1)'', which is only true when the ${1} variable is defined. Notes: svn path=/head/; revision=106286
* o Remove $Id$ from copyright; there's $FreeBSD$,Marcel Moolenaar2002-11-012-18/+8
| | | | | | | | | | o Remove static function uuid_print(); use uuid_to_string(3) in combination with printf(3) to achieve the same, o Remove unneeded includes, o Add a reference to uuid(3) to the manpage. Notes: svn path=/head/; revision=106283
* Variables that come in in and out pairs should be named accordingly.Tony Finch2002-11-011-68/+84
| | | | | | | | | Different code that processes the input in similar ways should be called in similar ways. File-local stuff should be static. Output errors should be checked for. Diffs sometimes have to be big. Notes: svn path=/head/; revision=106280
* Be much more paranoid about where uudecode writes its output, especiallyTony Finch2002-11-011-7/+36
| | | | | | | | | | when the filename comes from the untrusted input. This is a work-around for careless people who don't routinely check the begin line of the file or run uudecode -i and instead report "vulnerabilities" to CERT. http://www.kb.cert.org/vuls/id/336083 Notes: svn path=/head/; revision=106275
* Instead of abusing stdin and stdout, use our own file pointers.Tony Finch2002-11-011-14/+22
| | | | | | | Check for errors when closing the output. Notes: svn path=/head/; revision=106274
* Back out previous commit - it was not well thought out.Maxim Sobolev2002-10-311-1/+1
| | | | | | | | Clue beaten in by: ume Pointy hat to: sobomax Notes: svn path=/head/; revision=106250
* Document the new behavior of -C with respect to inode-change-time.Ruslan Ermilov2002-10-311-2/+4
| | | | | | | Document that -p also preserves the access time of the source. Notes: svn path=/head/; revision=106247
* Do not change the target file's inode-change-time if -C isRuslan Ermilov2002-10-311-3/+5
| | | | | | | | | specified, the target file already exists and the files are the same, and the target's file flags and mode need not to be changed. Notes: svn path=/head/; revision=106246
* Fix POLA breakage in 1.29: IPv4 should be default. This makes `-4' optionMaxim Sobolev2002-10-311-1/+1
| | | | | | | | | | | a nop, but we'll probably want to keep it for compatibility with other KAME-based systems. Complained about by: Andrey Lakhno <land@dnepr.net> MFC after: 3 days Notes: svn path=/head/; revision=106245
* ade@ no longer has the FreeBSD account.Ruslan Ermilov2002-10-311-1/+0
| | | | Notes: svn path=/head/; revision=106244
* Sort by month/day/year/login.Ruslan Ermilov2002-10-311-7/+7
| | | | Notes: svn path=/head/; revision=106243