summaryrefslogtreecommitdiff
path: root/cp_mv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+1
| | | | | | | 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
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen2001-01-251-2/+2
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-4/+6
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-10/+9
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-20/+20
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-2/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Force optind=1 for libc5 when doing cp in cp_mv.cEric Andersen2000-09-231-0/+4
|
* We complained if the total number of arguments was greater than 3 andMatt Kraai2000-08-061-1/+1
| | | | | the destination wasn't a directory. We should only complain if the there are multiple sources and target isn't a directory.
* Extract usage information into a separate file.Matt Kraai2000-07-161-22/+0
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-141-13/+21
| | | | for their extraction to a separate file.
* The result of getopt() should not be converted to "char" - it breaks on PPCPavel Roskin2000-07-141-1/+1
|
* A couple of minor warning cleanups.Eric Andersen2000-07-141-1/+1
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-21/+18
|
* Patch from Marc Nijdam <marc_nijdam@hp.com>Eric Andersen2000-07-131-11/+9
| | | | | | | | > First (of many more) patch of cp_mv to getopt use. I'm using the most > simplistic approach, just get getopt used, then worry about a cleaner > option parsing style using getopt later. > > Marc
* Use global applet_name instead of local versions.Matt Kraai2000-07-121-16/+14
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-4/+3
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Fixed parsing of arguments for cpPavel Roskin2000-06-081-26/+25
|
* Fixed a bunch of stuff:Eric Andersen2000-06-061-23/+28
| | | | | | | | | | * Fixed segfault caused by "touch -c" * Fixed segfault caused by "rm -f" * Fixed segfault caused by "ln -s -s" and similar abuses. * Fixed segfault caused by "cp -a -a" and similar abuses. * Implemented "rm -- <foo>" updated docs accordingly. -Erik
* * cp -fa now works as expected for symlinks (it didn't before)Erik Andersen2000-05-101-3/+4
| | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
* Some accrued fixes/updates.Erik Andersen2000-05-011-0/+4
| | | | | | | | * cp/mv now accepts (and ignores) the -f flag, since it always does force anyway * tail can now accept -<num> commands (e.g. -10) for better compatibility with the standard tail command * added a simple id implementation; doesn't support supp. groups yet
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-9/+9
| | | | | compatability. -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-211-8/+13
|
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-1/+1
| | | | -Erik
* Yet another installment in the ongoing tar sagaErik Andersen2000-03-281-4/+4
| | | | -Erik
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-98/+181
| | | | -Erik
* UpdatesErik Andersen2000-02-111-11/+15
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-185/+174
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-0/+258
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik