summaryrefslogtreecommitdiff
path: root/libbb/run_parts.c
AgeCommit message (Collapse)Author
2006-04-12- add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2004-04-14Larry Doolittle writes:Eric Andersen
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
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-08-30The default behaviour for run-parts is corrected to continue if an errorGlenn L McGrath
is encountered in a script. Patch by Philip Blundell
2003-07-29Bruno Randolf writes:Eric Andersen
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
2003-05-27Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen
2003-05-26This was doing some silly stuff that is not necessary when usingEric Andersen
vfork(), so I have simplified it.
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-20New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath
is not found. Patch from Bastian Blank
2003-01-20Make test mode output same as official versionGlenn L McGrath
2002-11-21Fix a vfork bug, by Nick Fedchik and Vladimir N. OleynikGlenn L McGrath
2002-11-15Use vfork, by vodzGlenn L McGrath
2002-11-11Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath
moves the guts of run_parts to libbb to be used by ifupdown.