| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
GNU tar changed -l to match SUSv2 a couple of years ago,
so bsdtar no longer needs to pander to this particular GNUism.
Thanks to: Debian maintainers
MFC after: 7 days
|
| |
|
|
|
|
| |
PR: 35608
|
|
|
|
| |
POSIX shared memory descriptors.
|
|
|
|
|
|
| |
This would prevent it from skipping non-present cpus in -P output.
Submitted by: Pieter de Goeje <pieter@degoeje.nl>
|
| |
|
|
|
|
| |
Resulting binary verified with strip(1)+md5(1).
|
|
|
|
|
|
|
|
|
|
| |
- Handle wrapping correctly when \r appears in the input, and don't
remove the \r from the output.
- For lines longer than 79 characters, don't drop every 80th character.
- Style: Braces around compound while statement.
PR: 114498
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (earlier version)
|
| |
|
|
|
|
|
|
|
|
|
| |
more carefully inspecting the return value from sysctl(3). [1]
- Use calloc instead of malloc+memset of zero.
Submitted by: Alexander Chernikov <admin su29 net> [1]
PR: bin/119581
MFC after: 2 weeks
|
|
|
|
|
| |
PR: bin/119542
Submitted by: Niki Denev
|
| |
|
|
|
|
|
| |
Submitted by: David Frascone <dave@frascone.com>
PR: 119490
|
|
|
|
|
|
|
|
|
|
|
|
| |
current state, it can handle all but four of the 991 zip files (including
jar files) I was able to identify in the ports tree. The remaining four
are two self-extracting archives and two which have garbage preceding the
first local header. This limitation is a feature of libarchive(3) which
I am currently working to resolve.
The code is unnecessarily large due to the need to emulate the exact
command-line syntax and behaviour of ports/unzip. My initial incompatible
implementation was one quarter the size of the one I am committing here.
|
|
|
|
|
|
|
| |
requests.
MFC after: 3 days
Reported by: Michiel Boland michiel boland.org
|
| |
|
| |
|
|
|
|
| |
change fixes output for break() on LP64 systems.
|
|
|
|
|
|
|
| |
+ kread is not a boolean, so check it as such
+ fix $FreeBSD$ Ids
+ denote copyrights with /*-
+ misc whitespace changes.
|
|
|
|
| |
better is almost ready to commit.
|
|
|
|
|
|
|
|
| |
* prototypes for optarg/optind on platforms that don't already have them
* Disambiguate version number macros
* Remove unnecessary PACKAGE_NAME macro
* Hook for forthcoming bsdtar test suite
* Sync version number up with the portable distribution
|
| |
|
| |
|
|
|
|
|
|
| |
(This does a couple of things that the standard library's strmode()
doesn't; it proved useful in bsdcpio as well, so I pushed it down
into libarchive.)
|
|
|
|
| |
(It's in the C source, just wasn't in the COPYING file until now.)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
| |
Submitted by: max@
|
| |
|
|
|
|
|
|
|
| |
return and print a useful message.
Prior to this commit, access problems could give rise to messages that
the file didn't exist.
|
|
|
|
|
|
| |
sys/types.h polution that FreeBSD has in one of its include files.
Since this is a bootstrap tool, include more than is strictly
necessary for FreeBSD.
|
|
|
|
|
|
| |
to the fetch(3) man page.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unused in one go.
From the original PR:
I've observed that linux apps running under the linuxulator
have a habit of leaving behind shared memory segments which
are unused, but which eventually cause the system to run
out of free segments and these apps will stop working.
ipcrm(1) currently only allows removal of unused message
queues, shared memory segments and semaphores on an individual
basis, or those having a matching (non-zero) key. However
it would often be convenient to just do a complete cleanup
of everything, usually as root.
PR: bin/118292
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Not reviewed by: grog@
Approved by: grog@
|
|
|
|
|
|
|
|
| |
This turns out to be due to an argument botch for hid_report_size.
The PR contained patches to fix the argument botch.
Submitted by: Maurice Castro
PR: usb/118915
|
| |
|
|
|
|
| |
(Repocopied from src/tools/tools/ministat)
|
| |
|
|
|
|
|
|
|
|
|
| |
changes as proposed in bin/118292.
Feel free to mention any I have missed, there is much to learn with
regarding to style(9).
Approved by: grog@
|
|
|
|
|
| |
Submitted by: Andrey V. Elsukov
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
because of the absence of a destination directory or if the
"destination directory" is not a directory.
PR: bin/11826
Submitted by: Denis Eremenko <moonshade@pnhz.kz>
Approved by: grog@
X-MFC after: various freezes
|
|
|
|
|
|
| |
user/system/idle stats. -h feeds the memory column through
humanize_number() to reduce the amount of column overflowing. -H turns
this off. -h is turned on by default if stdout is a tty.
|
|
|
|
|
| |
one it's missing from is the VM display, where there's really not room,
and the file output display is looking quite cramped.
|
| |
|
|
|
|
|
|
| |
some arguments that are parsed (e.g., semctl command names).
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
no per-thread name is available or the name is identical to the
process name, display "-" instead. Very slightly shrink the COMM
entry to make a bit more room, although this doesn't help with
stack traces much.
Suggested by: thompsa
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the missing functionality from procfs(4) and new functionality for
monitoring and debugging specific processes. procstat(1) operates in
the following modes:
-b Display binary information for the process.
-c Display command line arguments for the process.
-f Display file descriptor information for the process.
-k Display the stacks of kernel threads in the process.
-s Display security credential information for the process.
-t Display thread information for the process.
-v Display virtual memory mappings for the process.
Further revision and modes are expected.
Testing, ideas, etc: cognet, sam, Skip Ford <skip at menantico dot com>
Wesley Shields <wxs at atarininja dot org>
|
|
|
|
|
|
|
| |
Every time I need newgrp, I forget its name but I remember it's like
login for groups - newgrp(1) already cross-references login(1).
MFC after: 2 days
|
|
|
|
|
|
| |
headers. All OpenSolaris compatibility comes via the set of specific
compatibility headers in src/compat/opensolaris and
src/sys/compat/opensolaris.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This should fix the double free() bug where there's no tailing newline(\n)
character:
current# echo -n test | tail
testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function
arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448.
Abort (core dumped)
Reviewed by: kib
MFC after: 3 days
|