| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
instead of treating it as a synonym for -b.
|
|
|
|
|
|
|
|
|
|
|
| |
declarations with the opening brace on the same line as the declaration
of arguments all spaces and no tabs (a feature which exists in GNU's
indent). Man page update to follow RSN.
PR: bin/67983
Submitted by: Chip Norkus <wd@teleri.net>
Style guidance and bug for bug compatibility by: bde
MFC after: 2 weeks
|
|
|
|
| |
mbrlen() instead of mblen().
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add --null option (sort #defines here)
* Add process_lines function to util.c that reads newline-terminated
or null-terminated lines (with self-sizing buffers, etc) and iteratively
invokes a provided function. Use this to dramatically simplify:
-T handling for -c, --exclude-from-file, and --include-from-file.
* Add -T handling to -x (via include_from_file)
Hopefully, this will fix the openoffice port and a couple of
others that rely on -T and --null.
|
|
|
|
| |
While I'm here, add in a lot more error-checking around append_archive.
|
|
|
|
|
|
| |
Instead, display a warning, clean up, and let main() return the error.
In particular, this means that chdir() problems won't leave broken
archives, though they will prompt an error exit value.
|
|
|
|
| |
Also correct an old error: there was no tar command in Sixth Edition.
|
|
|
|
|
|
|
| |
This requires some non-trivial surgery to the options parsing.
While here, let people who only have getopt() access long options
through the -W longopt=value convention.
|
|
|
|
|
|
| |
strings (arguments to the -d option.) This involves backing out paste.c
rev. 1.13 until we have a version of fgetln() that operates on wide
character streams.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
in its input. Although doing so would require only trivial changes,
it would be incompatible with the ordering used by sort(1), which is the
primary source of comm's input.
|
|
|
|
| |
than one column position.
|
|
|
|
| |
more than one column position.
|
|
|
|
|
|
|
| |
remote size is unknown, but we do. Resolve this in the man page's favor.
Requested by: Andre Albsmeier <andre.albsmeier@siemens.com>
MFC after: 1 week
|
|
|
|
| |
more than one column position.
|
|
|
|
|
|
| |
with ``__'' to avoid polluting the namespace. This doesn't change the
documented rune interface at all, but breaks applications that accessed
_RuneLocale directly.
|
|
|
|
|
|
| |
architectures only provide a dummy implementation.
Silence on: current@
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
socket in LISTEN state happens to be bound to an interface, it will
show up in netstat(1) output even without the -a switch.
As the definition of "sockets used by server processes" is a
difficult one to qualify with regards to UDP, do not change the
output behaviour for UDP sockets.
PR: bin/26359
|
|
|
|
| |
use /bin/sh. Fix this.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
| |
Thanks to: Kris Kennaway for doing some gtar research for me.
|
|
|
|
|
|
|
| |
gtar, so that makes it easy to implement.
Required by: audio/timidity port
Thanks to: Kris Kennaway
|
|
|
|
| |
(gtar-compatible) one does require an argument.
|
| |
|
| |
|
|
|
|
|
| |
something else. I would really like a short option for
this, but all of the obvious ones conflict with something else.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Usage goes to stderr, not stdout
* Use correct argument markup
* bsdtar --help no longer exits with an error return code
* ensure that the word "bsdtar" appears in the first
line output from "bsdtar --help" (even if the program is
invoked as "tar")
In particular, scripts can now test for the presence of bsdtar.
For example, in /bin/sh:
if (tar --help 2>&1 | grep bsdtar >/dev/null 2>&1) then \
echo bsdtar; else echo not bsdtar; fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"machine name" in ntalkd(8) request packets, when the destination
and source are local.
This should make talk(1) use much more pleasant for those security-
conscious individuals who have chosen to bind talkd to "localhost".
Previous to this change, talk(1) would require that the hostname of
the machine, as retrieved by gethostname(3), resolved to a valid and
reachable IPv4 address, using gethostbyname(3).
This makes talk(1) dependent on a valid host entry for "localhost"
in /etc/hosts (or the Domain Name System).
PR: bin/23178
Submitted by: angui.sh admin (with cleanups)
|
|
|
|
|
|
|
| |
socket buffer state.
Submitted by: rik
Reminded by: le
|
|
|
|
|
| |
Pointed out by: ceri
Pointy hat to: bms
|
|
|
|
| |
Submitted by: ceri (with cleanups)
|
|
|
|
|
| |
Nudged by: ru
Pointy hat: bms
|
|
|
|
|
| |
PR: bin/48914
Submitted by: James Raftery
|
|
|
|
| |
Submitted by: Liam J. Foy
|
| |
|
|
|
|
| |
It seems to work in my limited tests.
|
|
|
|
|
|
| |
forward reference from where strip(1) is being mention (-s option).
PR: bin/28620
|
| |
|
|
|
|
|
| |
Pointed out by: devel/nspr port
Thanks to: Kris Kennaway
|
|
|
|
|
|
|
| |
creating an archive.
Pointed out by: Failure to complain when building certain broken packages
(Thanks again to Kris Kennaway for finding this!)
|
|
|
|
|
|
|
|
|
|
| |
an existing symlink (as might happen if you extract an archive twice).
Also, if we remove the offending link, then we've removed the problem
and can safely go forward with the extraction.
Pointed out by: print/adobe-cmaps port (whose distfile has
duplicate entries for the same symlinks)
Thanks to: Kris Kennaway (for using ports as a testbed for bsdtar)
|
|
|
|
|
|
|
|
|
| |
--exclude='pattern'.
I should have added this a long time ago, since it's so useful for testing.
In particular, it allows me to select a few entries from a troublesome
archive so that I can easily focus my debugging efforts:
bsdtar -czf new.tgz --include='*foo*' @old.tgz
|
|
|
|
|
| |
It is, in fact, perfectly legal to not specify a compression when
writing an archive. <sigh>
|
| |
|
|
|
|
| |
Pointed out by: njl, des.
|
|
|
|
|
|
|
|
|
|
|
| |
(and not thread) scope is to be displayed, use KERN_PROC_ALL and
accrue CPU% ourselves, as the kernel makes no attempt to do so.
Of course, this doesn't make most stats any less bogus when displaying
threaded processes, but at least the CPU time is added up and not just
always 0.00%. There are still issues with SCHED_ULE in top(1) that
cause other processes to display 0.00% CPU when they in fact have used
more.
|