aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!aldot2006-05-261-0/+4
| | | | | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts git-svn-id: svn://busybox.net/trunk/busybox@15195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typos: s/compatability/compatibility/g;s/compatable/compatible/g;aldot2006-04-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean up yet more annoying signed/unsigned mismatches and fixupandersen2006-01-301-1/+1
| | | | | | | yet more incorrect types git-svn-id: svn://busybox.net/trunk/busybox@13725 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new bb_opt_complementally syntax, use [-:?] only - 'free' charsvodz2005-10-141-1/+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 git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use complementally '!' to '?' - 'ask' is best 'free' char for this.vodz2005-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. git-svn-id: svn://busybox.net/trunk/busybox@11828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When lstat returns an error (such as file not found), the value oflandley2005-10-091-10/+9
| | | | | | | | | st_mode is random garbage (under uClibc), leading to random triggering of the S_ISDIR() case when the destination will be a normal file which doesn't exist yet. I.E. checking the return value of lstat is not optional. git-svn-id: svn://busybox.net/trunk/busybox@11815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename libbb's password helpers as suggested in libbb.haldot2005-09-201-2/+2
| | | | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug git-svn-id: svn://busybox.net/trunk/busybox@11515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch by Bernhard Fischer, removing unnecessary includes oflandley2005-09-111-1/+1
| | | | | | | getopt.h, whitespace changes, typos, etc. git-svn-id: svn://busybox.net/trunk/busybox@11422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-051-6/+1
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵vapier2005-05-111-1/+1
| | | | | | (BB_GETOPT_ERROR) git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my email address, document some of my tasks in the AUTHORS filebug12004-04-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Enable long options, adds 150 bytes.bug12004-01-231-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8339 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check valid options were givenbug12004-01-231-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont change ownership unless we created the directory.bug12004-01-231-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unneeded conditions and logic, fix bug where ownership didntbug12004-01-231-33/+34
| | | | | | | | | change. Dont use bb_make_directory it doesnt have the features, and its ugly to work around it. git-svn-id: svn://busybox.net/trunk/busybox@8335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a bug, ignore the source path when installing to a directory.bug12003-11-271-45/+41
| | | | | | | | We may be installing symlinks, so use lstat/lchown. Make use of bb_getopt_ulflags and cp_mv_stat2, save 100 bytes. git-svn-id: svn://busybox.net/trunk/busybox@8006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Accept the -c option and do nothingbug12003-10-291-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7723 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the -d optionbug12003-09-241-1/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7558 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the "install" applet, move get_ug_id to libbb as its used by chown,bug12003-09-241-0/+102
chgrp and install. git-svn-id: svn://busybox.net/trunk/busybox@7557 69ca8d6d-28ef-0310-b511-8ec308f3f277