aboutsummaryrefslogtreecommitdiff
path: root/archival/ar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-161-1/+1
| | | | xstrtou: disallow leading '+'
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-3/+3
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* usage.h: remove ugly tricks. We have USE_FEATURE_xxx now.Denis Vlasenko2006-09-271-1/+2
| | | | Few bugs are now exposed...
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-10/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-1/+1
| | | | xlseek and fdlength() for the new mkswap.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-13/+1
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-2/+2
|
* - new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"2005-10-141-8/+1
| | | | | - new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
* Prepend '-' to the first argument if required, more const, indent"Vladimir N. Oleynik"2005-10-121-7/+12
|
* - use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"2005-10-111-1/+1
| | | | | - more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-111-1/+0
| | | | getopt.h, whitespace changes, typos, etc.
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-2/+2
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger2005-05-111-1/+1
| | | | (BB_GETOPT_ERROR)
* abort if user passes -r or if they dont pass anythingMike Frysinger2005-05-091-3/+8
|
* Make it more apparent that archive creation is not supportedEric Andersen2004-10-071-6/+10
|
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-251-1/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Use bb_getopt_ulflags, saves some space, better argument checking.Glenn L McGrath2004-01-041-70/+32
| | | | Remove ar specific extraction code, always use common extraction code.
* Fix a compile error when only using ar, patch by Paul van GoolGlenn L McGrath2003-12-051-1/+1
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-1/+1
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Major coreutils update.Manuel Novoa III2003-03-191-6/+6
|
* Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath2002-12-081-1/+1
| | | | (eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
* Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath2002-11-031-14/+6
| | | | descriptors, support tar -j
* Fix simple define problemGlenn L McGrath2002-09-261-2/+3
|
* New common unarchive code.Glenn L McGrath2002-09-251-31/+92
|
* Recovering from my previous commitGlenn L McGrath2001-10-251-1/+2
|
* unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath2001-10-131-1/+1
| | | | applets that use unarchive changed to match.
* Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath2001-07-141-5/+5
|
* Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath2001-07-111-1/+1
|
* cpio applet, and changes to associated codeGlenn L McGrath2001-06-221-1/+1
|
* Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath2001-06-201-21/+21
| | | | | | more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
* Reorganise archive extraction codeGlenn L McGrath2001-06-131-63/+25
|
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-161-1/+1
| | | | by Larry Doolittle.
* Rename variable that shadows globalGlenn L McGrath2001-04-121-16/+16
|
* copy_file_chunk uses streams now.Glenn L McGrath2001-04-111-17/+19
|
* Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath2001-04-111-102/+0
|
* Fix warningGlenn L McGrath2001-04-071-1/+1
|
* A first pass at making D_FILE_OFFSET_BITS=64 work, fromEric Andersen2001-04-051-3/+3
| | | | Jari Ruusu <jari.ruusu@pp.inet.fi>
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-2/+2
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Consmetic changesGlenn L McGrath2001-02-111-7/+11
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-3/+3
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+4
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* add dpkg-deb commandGlenn L McGrath2001-01-021-1/+1
|
* Rewrite, fix a bug with multiple long filenames, simplify structure, remove ↵Glenn L McGrath2000-12-151-314/+142
| | | | cruft, make code conform closer to style guide, saves 350 Bytes.
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-12/+12
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley2000-12-051-2/+2
| | | | more descriptive name, and as per the style guide.