| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reflect actual NetBSD revision we already have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r289172:
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity
r290254:
Remove unused variable (SRCDIR)
|
|
|
|
| |
style(9) indent changes, no actual code change.
|
|
|
|
| |
Relnotes: yes
|
|
|
|
|
|
|
|
|
|
|
| |
In gunzip(1), treat trailing garbage as a warning and not an error. This
allows scripts to distinguish it between real fatal errors, for instance a
CRC mismatch.
Update manual page for the behavior change.
PR: bin/203873
Submitted by: Eugene Grosbein <eugen grosbein net>
|
|
|
|
|
|
| |
Sync with NetBSD:
- Mention xz(1) in gzip(1).
- Strip away path from header name when decompressing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r272777:
Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyua
In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
r272779:
Integrate usr.sbin/basename/tests from NetBSD into atf/kyua
In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division
r272780:
Integrate usr.bin/cmp/tests from NetBSD into atf/kyua
In collaboration with: sjg
Sponsored by: EMC / Isilon Storage Division
r272781:
Integrate usr.bin/dirname/tests from NetBSD into atf/kyua
In collaboration with: pho, sjg
Sponsored by: EMC / Isilon Storage Division
r272782:
Integrate bin/sleep/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
r272783:
Integrate usr.bin/cut/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
r272784:
Integrate usr.bin/grep/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
r272787:
Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/tests
Sponsored by: EMC / Isilon Storage Division
r272788:
Integrate usr.bin/gzip/tests from NetBSD into atf/kyua
Sponsored by: EMC / Isilon Storage Division
|
| |
|
|
|
|
|
|
| |
Correct buffer size.
Submitted by: Sascha Wildner <swildner dragonflybsd org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
|
|
|
|
|
| |
Prompted by: brueffer
Approved by: brueffer
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
Third parties are encouraged to change the license on any files which have
a 4-clause license contributed to the NetBSD Foundation to a 2-clause
license. We would also encourage you to inform us about these files, so
that we can continue to track the many places in which NetBSD is used.
http://www.netbsd.org/about/redistribution.html#why2clause [1]
Requested by: joel@
|
|
|
|
|
|
| |
of support of decompressing xz files.
Obtained from: NetBSD
|
|
|
|
|
|
| |
in order to reduce patchset size.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
Add missing length checks on unix socket addresses. [11:05]
Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-11:04.compress
Security: CVE-2011-2895 [11:04]
Security: FreeBSD-SA-11:05.unix
|
|
|
|
| |
do not check for symbolic link.
|
|
|
|
|
|
|
|
| |
When we are operating on a symbolic link pointing to an existing
file, bail out by default, but go ahead if -f is specified.
Submitted by: arundel
MFC after: 2 weeks
|
|
|
|
|
|
| |
handle more file formats including bzip2 and xz.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
PR: 154441
Submitted by: Ben Haga (bhaga of absoludicrous com)
Suggestion by: pluknet
Approved by: keramida (mentor)
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
not optimal from a performance standpoint since the write buffer is
not necessarily be filled up when the inflate rountine reached the
end of input buffer and it's not the end of file.
This problem gets uncovered by trying to pipe gunzip -c output to
a GEOM device directly, which enforces the writes be multiple of
sector size.
Sponsored by: iXsystems, Inc.
Reported by: jpaetzel
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
out of file descriptors for instance.
Found with: Coverity Prevent(tm)
CID: 6084
MFC after: 1 month
|
|
|
|
|
| |
While I'm there, loosen the st_nlink check and fix grammar for 1 extra
links.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
input file before using it.
PR: bin/147275
Submitted by: thomas
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
handler, as the latter is not guaranteed to be signal safe, and we
do not really care about flushing the stream during SIGINT.
Suggested by: Maxim Konovalov <maxim.konovalov gmail com>
MFC after: 13 days
|
|
|
|
|
| |
Reviewed by: Alexander Best <alexbestms wwu de>
MFC after: 13 days
|
|
|
|
|
|
|
| |
While I'm there, move unlink_input() slightly down to after closing the
output file, in uncompression path.
MFC after: 2 weeks
|
|
|
|
|
| |
manual page as I wrote the unpack functionality. No actual executable
code change verified with md5(1).
|
|
|
|
| |
Also remove some local patches to diff(1) which are now unneeded.
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
|
|
|
|
|
|
|
| |
BZ_STREAM_END triggered re-init. Do it by introducing a new flag
to represent the 'cold' case after bzip2 state is reinitialized.
This fixes regression reported on -current@ as well as another one
I found during twiddling with gzip.
Reported by: swell.k gmail.com
MFC after: 1 week
|
|
|
|
|
|
|
| |
as created by pbzip2.
Submitted by: mrg (NetBSD.org)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Limit suffix to be no more than 30 bytes long. This matches GNU
behavior.
- Correct usage of memcpy().
Note that this commit only corrects the stack underflow issue, we
still need some other fixes to cover other edges. [1]
Reported by: Ron Jude <ronj wytheville org>
Discussed with: Matthew Green (original NetBSD gzip author),
Eygene Ryabinkin <rea-fbsd codelabs ru> [1]
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
|
| |
- gzip -n does not store timestamp; [1]
- Reduce diff against NetBSD by moving some casts in our local
versions.
PR: bin/134955
Obtained from: NetBSD
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
in some commercial Unix systems, which utilizes Huffman minimum redundancy
code tree to compress files. This implementation supports the "new" pack
format only, just like GNU gzip did.
Thanks for oliver@'s archive set which I can test against, and Mingyan Guo
for providing helpful review of my code.
PR: bin/109567
MFC after: 1 month
|
|
|
|
|
|
|
| |
- Reduce scope where return value can be referenced.
- Add a dummy access to timestamp to silence warning.
Submitted by: Mingyan Guo <guomingyan gmail com>
|
|
|
|
|
|
| |
understand which code paths aren't possible.
Reported by: edwin
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
| |
PR: docs/123010
Submitted by: Andrew Wright <andrewhw ieee org>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
its existing understanding that .tgz uncompresses to .tar.
MFC after: 3 days
PR: 121519
Submitted by: Ighighi <ighighi at gmail.com>
|
|
|
|
|
|
|
|
|
| |
target file after the timestamp has been set; otherwise setting the
timestamp will fail if the flags don't permit it (i.e., uchg).
MFC after: 1 week
PR: 120208
Submitted by: Ighighi <ighighi at gmail.com>
|
|
|
|
|
| |
PR: bin/120249
Submitted by: Jaakko Heinonen <see the PR for email>
|
|
|
|
|
|
|
|
|
| |
being output in verbose mode when doing recursive[1].
- Use better representation of S:
PR: bin/114470
Submitted by: Ighighi <ighighi gmail com> [1]
Approved by: re (hrs)
|
|
|
|
| |
Pointed out by: ighighi gmail.com
|
|
|
|
|
|
|
|
| |
meaning that the user wants the input file to be left intact.
Feature request: Ighighi <ighighi gmail.com>
PR: bin/103006
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
it impossible to obtain correct file size from a file that
is larger than 4GB before compression.
PR: bin/110329
MFC after: 1 week
|
|
|
|
|
|
| |
src/gnu/usr.bin/grep.
Reviewed by: delphij
|