| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
example that shows how to work with an ISO 9660 image.
|
| |
|
|
|
|
|
| |
o) We don't need to check if ifp == stdin to give the filename, since we already
know that ifn will be "stdin" if it is.
|
|
|
|
| |
with the while.)
|
|
|
|
|
|
| |
Backwards compatibility with the new acct(5) format will be
implemented through the explicit versioning of acct records,
not through an export/import procedure.
|
|
|
|
| |
first column.
|
|
|
|
|
|
| |
Submitted by: Ray Lai <ray@cyth.net>
Obtained from: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14
MFC after: 1 week
|
|
|
|
|
|
|
| |
PR: bin/108368
Reported by: Ivo Hazmuk <ivo@vutbr.cz>
Submitted by: rdivacky
MFC after: 2 weeks
|
|
|
|
|
|
| |
PR: docs/66265
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
an error while skipping the body of an entry during
"tar -t" processing.
Thanks to: Spencer Minear
PR: misc/112521
|
|
|
|
|
| |
Avoid shadowing a global variable with a function argument.
Set WARNS to 6.
|
|
|
|
|
| |
Make timeprt always allocate memory, to make things a little simpler.
Remove an unused variable.
|
|
|
|
| |
Set WARNS to 6.
|
|
|
|
|
| |
Move some extern declarations to a header file.
Remove an unneeded extern declaration for optarg.
|
|
|
|
|
|
| |
removing some unused variables and making a variable unsigned.
MFC after: 3 weeks
|
|
|
|
|
|
| |
Add missing include.
Default to WARNS=6.
|
|
|
|
| |
Approved by: mlaier (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failed path is one which was specified on the command line.
This is a compromise between the situation prior to revision 1.57
(where a race between tar(1) and rm(1) could cause tar(1) to
spuriously report an error) and the situation after revision 1.57
(where "tar -c /no/such/path" prints a warning but returns with
an exit code of zero).
Inspired by: rafan
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
Not because I admit they are technically wrong and not because of bug
reports (I receive nothing). But because I surprisingly meets so
strong opposition and resistance so lost any desire to continue that.
Anyone who interested in POSIX can dig out what changes and how
through cvs diffs.
|
|
|
|
|
|
|
| |
"The setenv( ) function shall fail if:
[EINVAL] The name argument is a null pointer, points to an empty string,
or points to a string containing an '=' character."
The fix (like all others in this subject) is backward-compatible.
|
|
|
|
|
|
|
| |
"The setenv( ) function shall fail if:
[EINVAL] The name argument is a null pointer, points to an empty string,
or points to a string containing an '=' character."
The fix (like all others in this subject) is backward-compatible.
|
| |
|
|
|
|
| |
don't free memory after putenv()
|
|
|
|
| |
don't free memory after putenv()
|
|
|
|
|
|
|
|
|
|
| |
o Print "unknown ICMP" instead of "(null)" if we don't have a description for a icmp type.
Based on code
Submitted by: Christoph Weber-Fahr
PR: misc/112126
MFC after: 2 weeks
|
|
|
|
| |
standard and portable in the same way as f.e. gcc internal portable code does.
|
|
|
|
|
|
| |
PR: 111102
Submitted by: Sean Farley <sean-freebsd@farley.org>
Obtained from: OpenBSD
|
|
|
|
|
|
| |
modifier (-t is ignored without it).
MFC after: 1 week
|
|
|
|
| |
Approved by: itetcu (comentor)
|
|
|
|
| |
Approved by: delphij (mentor)
|
|
|
|
|
|
| |
from running together when a field overflows.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
each file independently from other files. The new semantics are
desired in the most of practical cases, e.g.: delete lines 5-9
from each file.
Keep the previous semantics of -i under a new option, -I, which
uses a single continuous address space covering all files to edit
in-place -- they are too cool to just drop them.
Add regression tests for -i and -I.
Approved by: dds
Compared with: GNU sed
Discussed on: -hackers
MFC after: 2 weeks
|
|
|
|
|
| |
out-of-date print not only "modified before source" message
but also the path of youngest source.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes infinite restart in the following case:
Makefile: foo
foo: bar
do-something
Unlike GNU make, BSD make considers "Makefile" node as remade even
if "foo" is up-to-date and was not actually rebuilt.
GNU make does not consider nodes without commands as remade if child nodes
were not actually rebuilt.
Most probably, more proper fix would be to bring BSD make behaviour in-line
with GNU make but this would be more intrusive change.
|
|
|
|
|
|
|
| |
While implementing import it became apparent that write as a mnemonic
is ambiguous and confusing.
MFC after: 8 days
|
|
|
|
|
|
| |
Use correct type for write_text.
MFC after: 8 days
|
|
|
|
|
| |
Discussed in: -arch
MFC after: 8 days
|
|
|
|
|
| |
"tar -u" works again. Otherwise, "tar -u" wants to
treat every dir as new and re-adds it.
|
|
|
|
| |
dir names, so they match the names generated by 'find'.
|
|
|
|
|
|
|
|
|
|
| |
each process.
- While I'm here, keep help message sorted by keys
PR: 98489, 98975
Submitted by: clsung
Approved by: delphij (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
occur on the write side of extracting a file to ARCHIVE_WARN errors
when returning them from archive_read_extract.
In bsdtar: Use the return code from archive_read_data_into_fd and
archive_read_extract to determine whether we should continue trying to
extract an archive after one of the entries fails.
This commit makes extracting a truncated tarball complain once about
the archive being truncated, instead of complaining twice (once when
trying to extract an entry, and once when trying to seek to the next
entry).
Discussed with: kientzle
|
| |
|
|
|
|
|
|
|
|
|
| |
titles extracted from argv vector instead of the real executable names.
This is useful when you want to watch applications that set their status
information via setproctitle(3).
Approved by: alfred
MFC after: 2 weeks
|
|
|
|
| |
Thanks to: Martin Koeppe for testing on Interix
|
|
|
|
|
|
| |
to globals, as per documentation.
Nudged by: Jeremie Le Hen
|
|
|
|
| |
in the previous commit.
|
|
|
|
| |
Thanks to: Joerg Sonnenberger for pointing out the need and the technique.
|
|
|
|
| |
Spotted by: ru@
|
|
|
|
| |
Submitted by: ru@
|