| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Fix style nit: don't use leading zero for dates in .Dd
Approved by: cperciva (implicit)
Notes:
svn path=/stable/8/; revision=240058
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/stable/8/; revision=225827
|
| |
|
|
|
|
|
|
|
|
|
| |
- Diff reduction against NetBSD. The most notable change is to zdiff(1)
to handle more file formats including bzip2 and xz.
- Match symbolic link handling behavior with GNU gzip, bzip2 and xz:
When we are operating on a symbolic link pointing to an existing
file, bail out by default, but go ahead if -f is specified.
Notes:
svn path=/stable/8/; revision=222735
|
| |
|
|
|
|
|
|
|
|
| |
Remove CRT reference from zmore(1).
PR: 154441
Approved by: keramida (mentor)
Notes:
svn path=/stable/8/; revision=218560
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the past gunzip(1) write()'s after each inflate return. This is
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
Notes:
svn path=/stable/8/; revision=213503
|
| |
|
|
|
|
|
|
|
|
|
| |
Check return value of dup(), it could be -1 when the system is running
out of file descriptors for instance.
Found with: Coverity Prevent(tm)
CID: 6084
Notes:
svn path=/stable/8/; revision=212807
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- make sure that initialize isb with fstat() on
input file before using it. (bin/147275)
- Fix grammar for st_nlink.
- Style changes.
PR: bin/147275
Approved by: re (kensmith)
Notes:
svn path=/stable/8/; revision=209090
|
| |
|
|
|
|
|
|
|
|
| |
- Add a signal handler for SIGINT which removes output file when necessary.
- While I'm there, move unlink_input() slightly down to after closing the
output file, in uncompression path.
- Language improvements to make the BUGS section easier to read.
Notes:
svn path=/stable/8/; revision=207838
|
| |
|
|
|
|
|
|
|
| |
Diff reduction against NetBSD and add myself to AUTHORS section of the
manual page as I wrote the unpack functionality. No actual executable
code change verified with md5(1).
Notes:
svn path=/stable/8/; revision=206948
|
| |
|
|
|
|
|
|
| |
Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 files
as created by pbzip2.
Notes:
svn path=/stable/8/; revision=200047
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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)
Notes:
svn path=/head/; revision=195988
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=194916
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=194579
|
| |
|
|
|
|
|
|
|
|
| |
- Reduce scope where return value can be referenced.
- Add a dummy access to timestamp to silence warning.
Submitted by: Mingyan Guo <guomingyan gmail com>
Notes:
svn path=/head/; revision=194508
|
| |
|
|
|
|
|
|
|
| |
understand which code paths aren't possible.
Reported by: edwin
Notes:
svn path=/head/; revision=181283
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180727
|
| |
|
|
| |
Notes:
svn path=/head/; revision=180136
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=180135
|
| |
|
|
|
|
|
|
|
| |
PR: docs/123010
Submitted by: Andrew Wright <andrewhw ieee org>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=180126
|
| |
|
|
|
|
|
|
|
|
|
| |
its existing understanding that .tgz uncompresses to .tar.
MFC after: 3 days
PR: 121519
Submitted by: Ighighi <ighighi at gmail.com>
Notes:
svn path=/head/; revision=176980
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=176970
|
| |
|
|
|
|
|
|
| |
PR: bin/120249
Submitted by: Jaakko Heinonen <see the PR for email>
Notes:
svn path=/head/; revision=176133
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=171389
|
| |
|
|
|
|
|
| |
Pointed out by: ighighi gmail.com
Notes:
svn path=/head/; revision=170357
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=170053
|
| |
|
|
|
|
|
|
|
|
|
| |
it impossible to obtain correct file size from a file that
is larger than 4GB before compression.
PR: bin/110329
MFC after: 1 week
Notes:
svn path=/head/; revision=167627
|
| |
|
|
|
|
|
|
|
| |
src/gnu/usr.bin/grep.
Reviewed by: delphij
Notes:
svn path=/head/; revision=166621
|
| |
|
|
|
|
|
| |
Obtained from: DragonFly
Notes:
svn path=/head/; revision=166363
|
|
|
NetBSD version is a feature-to-feature re-implementation of GNU
gzip using the freely-redistributable zlib and this version is
expected to be mostly bug-to-bug compatible with the GNU
implementation.
- Because this is a piece of mature code and we want to make
changes so it is added directly rather than importing to
src/contrib.
- Connect newly added code to src/usr.bin/ and rescue/rescue
build.
- Disconnect the GNU gzip code from build for now, they will
be eventually removed completely.
- Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and
WITHOUT_BZIP2.
Tested by: kris (full exp-7 pointyhat build)
Approved by: core (importing a 4-clause BSD licensed file)
Approved by: re (adding new utility during -HEAD code slush)
Notes:
svn path=/head/; revision=166255
|