aboutsummaryrefslogtreecommitdiff
path: root/coreutils/install.c
AgeCommit message (Collapse)Author
2006-01-30clean up yet more annoying signed/unsigned mismatches and fixupEric Andersen
yet more incorrect types
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-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-10-09When lstat returns an error (such as file not found), the value ofRob Landley
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.
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
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
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)
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-23Enable long options, adds 150 bytes.Glenn L McGrath
2004-01-23Check valid options were givenGlenn L McGrath
2004-01-23Dont change ownership unless we created the directory.Glenn L McGrath
2004-01-23Remove unneeded conditions and logic, fix bug where ownership didntGlenn L McGrath
change. Dont use bb_make_directory it doesnt have the features, and its ugly to work around it.
2003-11-27Fix a bug, ignore the source path when installing to a directory.Glenn L McGrath
We may be installing symlinks, so use lstat/lchown. Make use of bb_getopt_ulflags and cp_mv_stat2, save 100 bytes.
2003-10-29Accept the -c option and do nothingGlenn L McGrath
2003-09-24Add the -d optionGlenn L McGrath
2003-09-24Add the "install" applet, move get_ug_id to libbb as its used by chown,Glenn L McGrath
chgrp and install.