aboutsummaryrefslogtreecommitdiff
path: root/archival/ar.c
AgeCommit message (Collapse)Author
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-25just whitespaceTim Riker
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- 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
2005-10-12Prepend '-' to the first argument if required, more const, indent"Vladimir N. Oleynik"
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- 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.
2005-09-11Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley
getopt.h, whitespace changes, typos, etc.
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-05-11change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger
(BB_GETOPT_ERROR)
2005-05-09abort if user passes -r or if they dont pass anythingMike Frysinger
2004-10-07Make it more apparent that archive creation is not supportedEric Andersen
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-01-04Use bb_getopt_ulflags, saves some space, better argument checking.Glenn L McGrath
Remove ar specific extraction code, always use common extraction code.
2003-12-05Fix a compile error when only using ar, patch by Paul van GoolGlenn L McGrath
2003-11-21As we no longer use function pointers for read in common archiving codeGlenn L McGrath
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.
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-08Move add_to_list from libunarchive to libbb so it can be of more general use ↵Glenn L McGrath
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free).
2002-11-03Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath
descriptors, support tar -j
2002-09-26Fix simple define problemGlenn L McGrath
2002-09-25New common unarchive code.Glenn L McGrath
2001-10-25Recovering from my previous commitGlenn L McGrath
2001-10-13unarchive function changed to support both exclude and include lists, ↵Glenn L McGrath
applets that use unarchive changed to match.
2001-07-14Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
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
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-04-12Rename variable that shadows globalGlenn L McGrath
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath
2001-04-07Fix warningGlenn L McGrath
2001-04-05A first pass at making D_FILE_OFFSET_BITS=64 work, fromEric Andersen
Jari Ruusu <jari.ruusu@pp.inet.fi>
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-11Consmetic changesGlenn L McGrath
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-02add dpkg-deb commandGlenn L McGrath
2000-12-15Rewrite, fix a bug with multiple long filenames, simplify structure, remove ↵Glenn L McGrath
cruft, make code conform closer to style guide, saves 350 Bytes.
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-05Fixed the comments to match the code and renamed the function to a (hopefully)Mark Whitley
more descriptive name, and as per the style guide.
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-22Clean up error messages.Matt Kraai
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-09-11Fix .deb unpack and experimental TAR supportGlenn L McGrath
The previous ar.c fialed to recognise one record in .debs Experimental tar support, this is currently *very* cheap because ar and tar are functionally similar. It will need lots of testing so by default tar support code is defined out. To test uncomment the line "#define BB_AR_EXPERIMENTAL_UNTAR"
2000-09-11Simplify a few little things, and merge in a patch fromEric Andersen
robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both work. -Erik
2000-09-09remove some printf statements i forgot aboutGlenn L McGrath