summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell_script.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-231-2/+2
| | | | | | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell_script.c, libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h: Convert return type from bool to rtems_status_code and add rtems_string_to_pointer. Perform associated clean up and changes for return type change. * libmisc/stringto/stringtopointer.c: New file.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-221-5/+20
| | | | | | | | | | | | * libmisc/Makefile.am, libmisc/shell/main_chmod.c, libmisc/shell/main_mdump.c, libmisc/shell/main_medit.c, libmisc/shell/main_mfill.c, libmisc/shell/main_mmove.c, libmisc/shell/main_msdosfmt.c, libmisc/shell/main_mwdump.c, libmisc/shell/main_sleep.c, libmisc/shell/main_umask.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c, libmisc/stringto/stringto_template.h: Convert all shell code to use stringto.h mehods with better error checking. * libmisc/shell/str2int.c: Removed.
* 2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-101-3/+9
| | | | | * libmisc/shell/login_prompt.c, libmisc/shell/shell_script.c, rtems/include/rtems/rtems/timer.h: Fix warnings.
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-021-2/+1
|
* 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-10-021-0/+1
| | | | | | | | * libmisc/shell/main_cp.c, libmisc/shell/main_ls.c, libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c, libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Newlib > 1.16.0 requires __need_getopt_newlib to be defined to get visibility on the reentrancy extensions.
* Add missing prototypes.Ralf Corsepius2008-08-021-1/+1
|
* 2008-07-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-231-12/+23
| | | | | * libmisc/shell/shell_script.c: Clean up code for command not found including the error message.
* 2008-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-07-021-12/+0
| | | | * libmisc/shell/shell_script.c: Remove unused function.
* 2008-04-12 Chris Johns <chrisj@rtems.org>Chris Johns2008-04-111-1/+2
| | | | | | | | | | | | * libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_script.c: Add support to echo the commands to stdout. This is useful with the -v script option to show commands as the run. Also added support to chdir to the directory the task invoking the script is in. * libmisc/shell/extern-cp.h, libmisc/shell/main_cp.c, libmisc/shell/utils-cp.c: Update tro the latest FreeBSD version. * libcsupport/Makefile.am, libcsupport/src/fchown.c: Add fchown support.
* 2008-03-07 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-071-0/+1
| | | | | | | | * libmisc/shell/main_cp.c, libmisc/shell/main_netstats.c, libmisc/shell/shell_script.c: Add memset() of getopt_data to ensure it is zeroed out each time we use getopt_r(). * libmisc/shell/shell.c: Do not echo commands if input is not a tty. This makes the scripts behave more like UNIX scripts.
* 2008-03-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-051-0/+327
* libmisc/Makefile.am, libmisc/shell/main_cp.c, libmisc/shell/main_cpuuse.c, libmisc/shell/main_date.c, libmisc/shell/main_mallocinfo.c, libmisc/shell/main_netstats.c, libmisc/shell/main_perioduse.c, libmisc/shell/main_stackuse.c, libmisc/shell/main_wkspaceinfo.c, libmisc/shell/print_heapinfo.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_makeargs.c, libmisc/shell/shellconfig.c, libmisc/shell/shellconfig.h, libmisc/shell/write_file.c: Add initial capability to automatically execute a script from the filesystem. Add echo command from NetBSD and sleep command. * libmisc/shell/main_echo.c, libmisc/shell/main_sleep.c, libmisc/shell/shell_script.c: New files.