| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/head/; revision=127121
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127120
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127119
|
| |
|
|
|
|
|
| |
in return value not in errno.
Notes:
svn path=/head/; revision=127102
|
| |
|
|
|
|
|
|
|
|
| |
ferror(), fileno() and clearerr(), using the value of __isthreaded to
decide between the fast inline single-threaded code and the more
general function equivalent. This gives most of the performance
benefits of the old unsafe macros while preserving thread safety.
Notes:
svn path=/head/; revision=127100
|
| |
|
|
|
|
|
|
| |
The result isn't quite knf, but it's knfer than the original, and far
more consistent.
Notes:
svn path=/head/; revision=127094
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127091
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
addresses. For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.
Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.
Tested on: i386
Tested by: kuriyama
Submitted by: julian
MFC after: 1 month
Notes:
svn path=/head/; revision=127081
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127073
|
| |
|
|
|
|
|
| |
Noticed by: ru
Notes:
svn path=/head/; revision=127063
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127060
|
| |
|
|
|
|
|
|
|
|
| |
may in fact very well be a struct sockaddr_in6. Just use plain struct
sockaddr.
This brings us yet another step closer to a clean -O2 build.
Notes:
svn path=/head/; revision=127028
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127023
|
| |
|
|
|
|
|
| |
vslock() failure).
Notes:
svn path=/head/; revision=127015
|
| |
|
|
|
|
|
|
| |
vectors, instead of requiring the caller to keep track of element size
and count and pass them in by reference.
Notes:
svn path=/head/; revision=127012
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127011
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126952
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126950
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126949
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
MATH_ERREXCEPTION and math_errhandling, so that C99 applications at
least have the possibility of determining that errno is not set for
math functions. Set math_errhandling to the non-standard-conforming
value of 0 for now to indicate that we don't support either method
of reporting errors. We intentionally don't support MATH_ERRNO
because errno is a mistake, and we are missing support for
MATH_ERREXCEPTION (<fenv.h>, compiler support for <fenv.h>, and
actually setting the exception flags correctly).
Notes:
svn path=/head/; revision=126871
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126835
|
| |
|
|
|
|
|
|
| |
setting it redundantly when called from ungetwc(), vfscanf() etc.,
which already set the orientation.
Notes:
svn path=/head/; revision=126809
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126808
|
| |
|
|
|
|
|
| |
detour through putc().
Notes:
svn path=/head/; revision=126806
|
| |
|
|
|
|
|
| |
detour through getc().
Notes:
svn path=/head/; revision=126804
|
| |
|
|
|
|
|
| |
__srefill() to do it.
Notes:
svn path=/head/; revision=126802
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126800
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126799
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Add DECL wrappers to libgeom.h.
- Rename structure members in libgeom.h to use a lg_ prefix for member
names. This is required because a few structures had members named
'class' which made g++ very unhappy.
- Catch gstat(8) and gconcat(8) up to these API changes.
Reviewed by: phk
Notes:
svn path=/head/; revision=126786
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Portability: Thanks to Juergen Lock, libarchive now compiles cleanly
on Linux. Along the way, I cleaned up a lot of error return codes and
reorganized some code to simplify conditional compilation of certain
sections.
Bug fixes:
* pax format now actually stores filenames that are 101-154
characters long.
* pax format now allows newline characters in extended attributes
(this fixes a long-standing bug in ACL handling)
* mtime/atime are now restored for directories
* directory list is now sorted prior to fix-up to permit
correct restore of non-writable dir heirarchies
Notes:
svn path=/head/; revision=126782
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126765
|
| |
|
|
|
|
|
|
|
|
|
|
| |
structure and call stdio functions. In 5.X this was broken when FILE
locking was introduced into libc.
This change makes most (relevant) stdio functions work again when the
_extra file in FILE isn't initialised (and can't be without a libc
function to do it since the __sFILEX structure is private to libc).
Notes:
svn path=/head/; revision=126760
|
| |
|
|
|
|
|
| |
Noticed by: jhb
Notes:
svn path=/head/; revision=126748
|
| |
|
|
|
|
|
|
|
| |
done before the first call, even if this is a malloc(0) call.
PR: 62859
Notes:
svn path=/head/; revision=126727
|
| |
|
|
|
|
|
|
| |
Submitted by: le
Tweaks by: phk
Notes:
svn path=/head/; revision=126721
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This doesn't yet address the issue of selective restore
of hardlinked files. With cpio format, it's possible to correctly
restore any linked file; the API doesn't yet fully support this.
(There's no way for the library to inform a client whether or not
there's a file body associated with this entry. The assumption
right now is that "hardlink" entries have no file body.)
Notes:
svn path=/head/; revision=126705
|
| |
|
|
|
|
|
| |
cleanup, add more sections, better explanation, declaration
Notes:
svn path=/head/; revision=126697
|
| |
|
|
|
|
|
|
|
|
|
| |
cleanups, handling 'ls -l-', handling '--*'
Note this is in the same time back out of our v1.3
"Don't print an error message if the bad option is '?'"
because it directly violates POSIX.
Notes:
svn path=/head/; revision=126696
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126693
|
| |
|
|
|
|
|
| |
single '-' in command line and '-' (non-first) in options
Notes:
svn path=/head/; revision=126692
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the size in the archive_entry object to zero if that format doesn't
store a body for that file type. This allows the client to determine
whether or not it should feed the file body to the archive. In
particular, cpio stores the file body for hardlinks, tar and shar
don't. With this change, bsdtar now correctly archives hardlinks in all
supported formats.
While I'm here, make shar output be more aggressive about creating directories.
Before this, commands such as:
bsdtar -cv -F shar some/explicit/path/to/a/file
wouldn't create the directory. Some simple logic to remember the last
directory creation helps reduce unnecessary mkdirs here.
At this point, I think the only flaw in libarchive's cpio support is
the failure to recognize hardlinks when reading.
Notes:
svn path=/head/; revision=126684
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126680
|
| |
|
|
|
|
|
|
| |
control how archive_extract handles pre-existing files.
(Not implemented yet, but documented.)
Notes:
svn path=/head/; revision=126679
|
| |
|
|
|
|
|
|
|
| |
While I'm here, fix a bug in reading filenames from
cpio files. (Copy should count the length of the name,
not the number of bytes available for input.)
Notes:
svn path=/head/; revision=126678
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
Notes:
svn path=/head/; revision=126643
|
| |
|
|
|
|
|
|
| |
In particular, -tv output for pax-format archives now
lists everything that ls -l does.
Notes:
svn path=/head/; revision=126621
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=126553
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126535
|
| |
|
|
| |
Notes:
svn path=/head/; revision=126518
|
| |
|
|
|
|
|
|
|
|
| |
in order to get SUSv2 conformant behavior in higher level calls like
fputs() and puts().
Reviewed by: bde
Notes:
svn path=/head/; revision=126506
|