summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Really fix the relative timestamp bug. It was only incorrect for the ALQnjl2005-12-091-1/+2
| | | | | | | | case. It seems entries are in reverse order when read from the kernel memory but in the right order when read from a file (i.e. ALQ). Handle both cases. MFC after: 1 day
* Remove the -B option from the directory-copying examples. The -Bkientzle2005-12-091-2/+2
| | | | | | | | option is undocumented because it does nothing. It does nothing because bsdtar never needs it. It is accepted because gnutar does sometimes need it and many scripts use it. Reported by: Pawel Jakub Dawidek
* Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) serviceemax2005-12-072-1/+7
| | | | | | name in '-c' (RFCOMM channel) option. MFC after: 3 days
* Wording tweaks.des2005-12-071-3/+2
| | | | | PR: not quite docs/84620 MFC after: 2 weeks
* Add a -0 option for interoperability with xargs -0.des2005-12-073-4/+14
| | | | | | PR: bin/56558 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> MFC after: 2 weeks
* Add -r option for GNU compatibility.des2005-12-071-1/+4
| | | | MFC after: 2 weeks
* Fix -r flag to actually work. "now" comes after "then", not vice versa.njl2005-12-061-1/+1
| | | | MFC after: 1 day
* Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.ru2005-12-055-25/+57
| | | | Reviewed by: nyan
* Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bitphilip2005-12-041-5/+19
| | | | | | | | time_t and times will look incorrect on machines with 64bit time_t. PR: 88788 Submitted by: Keith White <Keith.White -at- site.uottawa.ca> MFC after: 1 week
* Quickly fix brokeness in revision 1.157, that change wasdavidxu2005-12-011-4/+4
| | | | | free()ing stack memory which causes the program to abort, and I can no longer make buildworld.
* - match_var: do not address memory at invalid address (`len' can be greaterfjoe2005-11-302-3/+5
| | | | | | | | | than strlen(var) + 1) - ReadMakeFile: prevent `fname' memory leak - ReadMakeFile: prevent double free (caused by double fclose) -- ParsePopInput() closes input file Reviewed by: harti
* Remove two lines of debugging output that accidentally snuck into therwatson2005-11-281-2/+0
| | | | commit to fix up kvm support for netstat -m.
* Portability: remove AC_FUNC_MALLOC from configure.ac.in.kientzle2005-11-271-1/+0
| | | | According to Dan Nelson, this fixes the build on AIX 5.2.
* Teach rfcomm_sppd(1) about service names, so it is possible to specifyemax2005-11-232-8/+39
| | | | | | | service name instead of channel number with -c command option. Supported service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port). MFC after: 1 week
* Use the appropriate error function for displaying the error,dds2005-11-201-1/+1
| | | | | | instead of printing it to stdout. MFC after: 1 week
* Fix up markup.ru2005-11-182-26/+38
|
* -mdoc sweep.ru2005-11-187-37/+38
|
* Sync as close as possible with NetBSD.pjd2005-11-161-92/+115
| | | | | | | | | | | | | | | This includes fixes and cleanups listed below: - If a process dissappears while we are signalling it, don't count it as a match/error. - Better handling of errors and messages. - Downgrade failure to kill(2) (other than ESRCH) from fatal error to a warning; otherwise processing aborts and possibly matching killees would remain unsignalled. This makes pkill match the Solaris behavior. - Exit with 2 on usage errors as documented. Obtained from: NetBSD Glanced at by: maintainer (gad) [a bit different version of this patch]
* I often find myself doing:pjd2005-11-162-15/+45
| | | | | | | | | | | | | | % pgrep <something> [to verify which processes match] % pkill <something> To speed such operation up, add -I option which works like rm(1)'s -i option (unfortunately -i is already used in pkill(1)), ie. pkill will ask for confirmation before killing each matching process. After adding -j, -F, -i, -S, -o and -L options and other improvements, I think I can add myself to the copyright header. Glanced at by: maintainer (gad)
* Eliminate coredump problem introduced by last commit.rodrigc2005-11-141-2/+8
| | | | Noticed by: Guido van Rooij <guido at gvr dot org>
* Eliminate build breakage due to warnings about const.rodrigc2005-11-141-3/+3
|
* Use ANSI definitions.dwmalone2005-11-1313-574/+352
| | | | | Avoid using extern by declaring shared functions in header files. Const poision.
* len and len2 work better as size_tdwmalone2005-11-131-1/+2
|
* Const poision, deregister and use ANSI definitions.dwmalone2005-11-131-23/+20
|
* Declare find_err in indent_globs.h where the other shared variablesdwmalone2005-11-133-4/+1
| | | | live rather than listing it as an extern in indent.c.
* Avoid shadowing a local scratch variable,dwmalone2005-11-131-2/+2
|
* Modify netstat -mb to use libmemstat when accessing a core dump or liverwatson2005-11-133-178/+54
| | | | | | | | | | | | | | | | kernel memory and not using sysctl. Previously, libmemstat was used only for the live kernel via sysctl paths. This results in netstat output becoming both more consistent between core dumps and the live kernel, and also more information in the core dump case than previously (i.e., mbuf cache information). Statistics relating to sfbufs still rely on a kvm descriptor as they are not currently exposed via libmemstat. netstat -m operating on a core is still unable to print certain sfbuf stats available on the live kernel. MFC after: 1 week
* Add "-s" argument to kdump to suppress the display of I/O data.rwatson2005-11-122-4/+11
| | | | MFC after: 1 week
* Look through ext2fs file systems as well as ufs.grog2005-11-121-1/+1
| | | | | | This should almost certainly be extended to other local file systems as well (ntfs springs to mind), but I don't have the ability to test it.
* Align output.ru2005-11-091-2/+2
|
* Edit pathnames for -x but not for -t. Otherwise, people get confusedkientzle2005-11-061-1/+1
| | | | | | | | when list the archive contents, then try to extract selected files (file selection always works against unedited pathnames). With this change, -t always shows the pathnames as they appear in the archive. Thanks to: Robert Watson
* Un-break processing of device major/minor values with fstat -n. We docsjp2005-11-051-3/+5
| | | | | | | | | | | this by accessing the cdev_priv element of the cdev structure. Looking forward we need a better way to handle this, as this structure shouldn't be frobbed by userspace. Submitted by: Doug Steinwand PR: bin/88203 MFC after: 1 week Discussed with: phk
* o Update list of holidays in Russia.maxim2005-11-021-7/+10
| | | | | Submitted by: osa MFC after: 1 week
* Fix an erroneous description of the file descriptor assignments forjdp2005-11-021-5/+3
| | | | | | the "~C" command. MFC After: 1 week
* Xref setlocale(3), bump document date.trhodes2005-11-011-1/+3
|
* Add a "-H" argument to kdump, which causes kdump to print an additionalrwatson2005-11-012-6/+33
| | | | | | | | | | | | | | field holding the threadid. This is more useful for libthr than libpthread, but still quite useful in libpthread as it can be used to process interlaced records from multiple threads over the course of a system call. Detect old ktr_buffer values using the heuristic "if it's negative, then it must not be a valid threadid". This may leave something to be desired. MFC after: 1 month Reviewed by: davidxu
* In mode 'u', check for an error return from archive_read_open.kientzle2005-11-011-2/+6
| | | | | | | | | | | | | This causes attempts to update a non-existent file to report an actual error instead of triggering an assertion failure. PR: bin/87911 Thanks to: roemer.ulrich MFC after: 3 days Note: This does not entirely fix bin/87911. I need to decide on the "correct" response when someone tries to update a non-existent archive file.
* Include <sys/param.h> in order to get current __FreeBSD_versionkientzle2005-11-011-0/+1
| | | | | | | | in order to properly set HAVE_NL_LANGINFO. <whew!> Thanks to: Andrey Chernov PR: bin/88013 MFC after: 3 days
* Spell "--format" correctly in error message. (It hasn't beenkientzle2005-11-011-1/+1
| | | | | | | | called "-F" for a very long time.) PR: bin/86915 Thanks to: Gary W. Swearingen MFC after: 3 days
* new committer: added my birthday to the calendaraaron2005-10-301-0/+1
| | | | Approved by: tobez
* Add some significant Ukrainian dates.ru2005-10-286-1/+102
| | | | | PR: 88076 Submitted by: Andriy Gapon
* Fix misspelled 'argument' and try to make the sentence into English.jhb2005-10-261-1/+1
| | | | Submitted by: Andre Guibert de Bruet andy at siliconlandmark dot com
* Use the "builtin" shell function to make sure that the requestedcperciva2005-10-241-1/+1
| | | | | | | | | | | command is handled as a shell function. This avoids the following peculiar behaviour when /usr/bin is on a case-insensitive filesystem: # READ foo (... long pause, depending upon the amount of swap space available ...) sh: Resource temporarily unavailable. Reported by: I can't remember; someone on IRC. MFC after: 1 week
* Document incorrect handling of multibyte characters.tjr2005-10-231-1/+5
| | | | PR: 87724
* Fix obvious copy'n'paste-O in rev.1.36 While here nit style.mlaier2005-10-221-3/+3
| | | | | | PR: bin/87783 Submitted by: Mats Palmgren MFC after: 1 week
* Use the new name H_SETSIZE instead of the old H_EVENT to set the historystefanf2005-10-191-1/+1
| | | | | | size. PR: 86355
* Make sure that files included using ".include <foo>" are reallyru2005-10-171-17/+16
| | | | | | | | looked for in the system make file directory or in the specified -m paths instead of always looking in the other -I and .PATH specified paths. (Commit log shamelessly stolen from NetBSD.) Reviewed by: yar
* Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec)andre2005-10-172-25/+7
| | | | | | instead of subtracting 'bootime' from 'now'. Sponsored by: TCP/IP Optimization Fundraise 2005
* The kernel accepts sockaddrs with len set to zero for sockaddr_inalfred2005-10-151-9/+20
| | | | types, so refactor the code here to grab them when length is zero.
* Revise the manpage to a certain extent, mostly with respect toyar2005-10-141-32/+68
| | | | | | | make's processing of top-level and included makefiles. Point out at make.conf(5) and __MAKE_CONF when telling about sys.mk. Reviewed by: ru
OpenPOWER on IntegriCloud