summaryrefslogtreecommitdiffstats
path: root/daemon/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement 'debug ls' and 'debug ll' commands.Richard Jones2009-08-181-0/+64
| | | | These commands can be used to list files in the appliance.
* adjust const "**" pointers to avoid warningsJim Meyering2009-08-171-1/+1
| | | | | | Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code.
* generator.ml: use new "Pathname" designationJim Meyering2009-08-131-1/+1
| | | | | | | | | | Nearly every file-related function in daemons/*.c is affected: Remove this pair of statements from each affected do_* function: - NEED_ROOT (return -1); - ABS_PATH (dir, return -1); and change the type of the corresponding parameter to "const char *". * src/generator.ml: Emit NEED_ROOT just once, even when there are two or more Pathname args.
* build: daemon/do_debug: parameters aren't always unusedJim Meyering2009-08-101-1/+7
| | | | | | | | | * daemon/debug.c (MAYBE_UNUSED): Define. (do_debug): Mark parameters as unused only when they really are unused. Spotted by Richard Jones. SCALAR(0xdd8370) prefer sizeof *VAR sizeof TYPE (no semantic change)
* build: avoid warnings in daemon/debug.cJim Meyering2009-08-101-1/+1
| | | | * daemon/debug.c (do_debug): Mark parameters as unused.
* Convert all TABs-as-indentation to spaces.Jim Meyering2009-08-031-5/+5
| | | | | | | | | | | Do it by running this command: [exempted files are matched via .x-sc_TAB_in_indentation] git ls-files \ | pcregrep -vf .x-sc_TAB_in_indentation \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* The 'debug sh' command now uses a real shell.Richard Jones2009-06-221-9/+33
|
* In the daemon, change all const char * parameters to char *.Richard Jones2009-06-101-1/+1
|
* Add 'debug env' command to print environment.Richard Jones2009-05-221-1/+23
|
* Generated code to support last 3 commits.Richard Jones2009-05-081-0/+10
|
* catsprintf leaks, use open_memstream instead.Richard W.M. Jones2009-04-231-10/+16
|
* Remove the 'debug mem' command, it's never going to work.Richard W.M. Jones2009-04-231-30/+0
|
* Implement 'debug sh' and 'debug fds' commands.Richard W.M. Jones2009-04-231-15/+101
|
* Add outline of 'debug' command.Richard W.M. Jones2009-04-231-0/+138