summaryrefslogtreecommitdiff
path: root/libbb/run_parts.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Denis Vlasenko to add xstat() and use it.Rob Landley2006-03-131-3/+1
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* Larry Doolittle writes:Eric Andersen2004-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* The default behaviour for run-parts is corrected to continue if an errorGlenn L McGrath2003-08-301-2/+3
| | | | | is encountered in a script. Patch by Philip Blundell
* Bruno Randolf writes:Eric Andersen2003-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz
* Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen2003-05-271-23/+17
|
* This was doing some silly stuff that is not necessary when usingEric Andersen2003-05-261-17/+23
| | | | vfork(), so I have simplified it.
* Major coreutils update.Manuel Novoa III2003-03-191-7/+7
|
* New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath2003-01-201-4/+9
| | | | is not found. Patch from Bastian Blank
* Make test mode output same as official versionGlenn L McGrath2003-01-201-3/+3
|
* Fix a vfork bug, by Nick Fedchik and Vladimir N. OleynikGlenn L McGrath2002-11-211-3/+4
|
* Use vfork, by vodzGlenn L McGrath2002-11-151-42/+22
|
* Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath2002-11-111-0/+139
moves the guts of run_parts to libbb to be used by ifupdown.