| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
config_freebsd.h. archive_platform.h decides which config file
to bring in and uses some of those selectors to define wrapper
macros and other compatibility glue.
|
| |
|
| |
|
| |
|
|
|
|
| |
alarm code.
|
| |
|
| |
|
| |
|
|
|
|
| |
OK'ed by: sam
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
| |
Requested by: nork
|
|
|
|
| |
by compiler.
|
|
|
|
| |
condition variable.
|
|
|
|
|
| |
Thanks to: WATANABE, Kazuo
Pointy hat: me, from the handy dispenser I keep nearby.
|
| |
|
|
|
|
|
|
| |
PR: misc/106234
Submitted by: Guy Harris
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
is also returned by pthread_detach() if a thread was already
detached, the error code was already documented:
> [EINVAL] The implementation has detected that the value speci-
> fied by thread does not refer to a joinable thread.
|
|
|
|
|
|
|
| |
* Correct a signed/unsigned problem that broke handling of files >2G.
* Implement "skip" support for much faster "tar -t".
Thanks to: Robert Sciuk for sending me a DVD that illustrated the first problem
|
|
|
|
| |
the full version down into major/minor values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* If write block size is zero, don't block at all.
This supports the unusual requirement of applications
that need "no-delay" writes.
* Expose _write_finish_entry() to give such applications more
control over write boundaries. (Normal applications do not
need this, as entries are completed automatically.)
* Correct the type of write callbacks; this is a minor API
change that does not affect the ABI.
* Correct the error handling in _write_next_header() around
completing the previous entry.
* Correct the documentation for block-size markers: Remove
docs for the long-defunct _read_set_block_size(); document
all of the write block size manipulators.
MFC after: 14 days
|
|
|
|
|
| |
- Don't build ngctl(8) and cached(8) if threading libs aren't built.
- Fix various issues in a cached(8) makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
traditional shortcut of defining on-disk layouts using structures of
character arrays. Unfortunately, as recently discussed on cvs-all@,
this usage is not actually sanctioned by the standards and
specifically fails on GCC/arm (unless your data structures happen to
be "naturally aligned").
The new code defines offsets/sizes for data fields and accesses
them using explicit pointer arithmetic, instead of casting to
a structure and accessing structure fields. In particular,
the new code is now clean with WARNS=6 on arm.
MFC after: 14 days
|
|
|
|
| |
PR: bin/86742
|
|
|
|
|
|
|
|
|
| |
don't need sendfile() buffers any more.
The report on the work referenced can be found at
http://usenix.org/events/usenix05/tech/general/elmeleegy.html
MFC after: 1 week
|
|
|
|
| |
reduce overheads of cancellation points.
|
|
|
|
|
| |
- don't add generated sources' objects to OBJS explicitly;
GENSRCS is part of SRCS so they were already in OBJS.
|
|
|
|
|
|
| |
and correct the use of unary minus with an unsigned value. (The unary
minus here is actually being used as a bitwise operation, which is
unusual enough to deserve a clarifying cast.)
|
| |
|
| |
|
|
|
|
| |
PR: bin/86742
|
|
|
|
|
|
| |
an in-memory buffer.
PR: bin/86742
|
|
|
|
|
| |
Submitted by: Jared Yanovich -phirerunner at comcast.net-
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
archive_{read,write}_open_filename():
* Update Makefile to build the files using the new name.
* Update docs to document the new names, mentioning the
old ones as "deprecated synonyms."
* The old filenames will be reconnected to the build soon;
I'll soon recyce those files for a slightly different purpose.
|
|
|
|
|
| |
synonyms for archive_write_open_file()/archive_read_open_file().
The new names are much clearer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
internal format-specific functions return the same as the public
function, so that the public API layer doesn't have to guess the
correct return value. This addresses an obscure problem that occurs
when someone tries to write more data than the size of the entry (as
indicated in the entry header). In this case, the return value from
archive_write_data() was incorrect, reflecting the requested write
rather than the amount actually written.
MFC after: 15 days
|
|
|
|
| |
message when reading a truncated tar archive.
|
|
|
|
|
|
|
| |
- make document title match filename;
- remove hard sentence breaks, whitespace at EOL, and double whitespace;
- sort SEE ALSO xrefs, adding missing section numbers;
- fix a misspelled macro name.
|
|
|
|
| |
archive_private.h.
|
|
|
|
|
|
|
|
| |
* Use public API, don't access struct archive directly. (People should be able to copy these into their applications as a template for custom I/O callbacks.)
* Set "skip" only for regular files. ("skip" allows the low-level library to catch attempts to add an archive to itself or extract over itself.)
* Simplify the write_open functions by just calling stat() at the beginning. Somehow, these functions had acquired some complex logic that tried to avoid the stat() call but never succeeded.
MFC after: 10 days
|
|
|
|
|
|
| |
file. This doesn't happen in normal use, because the file I/O and
decompression layers only pass through smaller blocks. It can happen
with custom read functions that block I/O in larger blocks.
|
|
|
|
|
|
|
|
| |
is for when you need something in ".depend", but not compiled in.
- Style fixes: Spell ${.OBJDIR} as ".".
- Neaten a comment.
Submitted by: ru
|
|
|
|
|
|
| |
Bump __FreeBSD_version.
Reviewed by: jb
|
| |
|
|
|
|
|
| |
PR: bin/85830
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Actually use the HAVE_<header>_H macros to conditionally include
system headers. They've been defined for a long time, but only
used in a few places. Now they're used pretty consistently
throughout.
* Fill in a lot of missing casts for conversions from void*.
Although Standard C doesn't require this, some people have been
trying to use C++ compilers with this code, and they do require it.
Bit-for-bit, the compiled object files are identical, except for
one assert() whose line number changed, so I'm pretty confident I
didn't break anything. ;-)
|
|
|
|
|
| |
Nudged by: jhb
Reviewed by: davidxu
|
|
|
|
|
|
| |
errno symbol, so completely remove the !_REENTRANT case.
Spotted out by: ru
|
| |
|
|
|
|
|
|
| |
Reported by: rink
Submitted by: kientzle
Security: FreeBSD-SA-06:24.libarchive
|