aboutsummaryrefslogtreecommitdiff
path: root/cp_mv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-20/+20
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Force optind=1 for libc5 when doing cp in cp_mv.candersen2000-09-231-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* We complained if the total number of arguments was greater than 3 andkraai2000-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. git-svn-id: svn://busybox.net/trunk/busybox@944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-22/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't use strings directly in calls to usage(). This is in preparationkraai2000-07-141-13/+21
| | | | | | | for their extraction to a separate file. git-svn-id: svn://busybox.net/trunk/busybox@863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The result of getopt() should not be converted to "char" - it breaks on PPCproski2000-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of minor warning cleanups.andersen2000-07-141-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-21/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Marc Nijdam <marc_nijdam@hp.com>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 git-svn-id: svn://busybox.net/trunk/busybox@838 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use global applet_name instead of local versions.kraai2000-07-121-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@829 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-4/+3
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed parsing of arguments for cpproski2000-06-081-26/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bunch of stuff: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 git-svn-id: svn://busybox.net/trunk/busybox@613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cp -fa now works as expected for symlinks (it didn't before)erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some accrued fixes/updates.erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@507 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-9/+9
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More Doc updates. cmdedit and more termio fixes.erik2000-04-211-8/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another installment in the ongoing tar sagaerik2000-03-281-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@424 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few updates (including the cp fix the Craig has been looking for)erik2000-03-041-98/+181
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updateserik2000-02-111-11/+15
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@368 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-185/+174
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-0/+258
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277