Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness

and trailing-comma-in-array issues

--HG--
extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
This commit is contained in:
Matt Johnston
2007-02-16 14:42:08 +00:00
parent 41fd735d4b
commit 7f12251fbb
8 changed files with 16 additions and 17 deletions

View File

@@ -215,8 +215,8 @@ static void cli_sessionloop() {
if (cli_opts.backgrounded) {
int devnull;
// keeping stdin open steals input from the terminal and
// is confusing, though stdout/stderr could be useful.
/* keeping stdin open steals input from the terminal and
is confusing, though stdout/stderr could be useful. */
devnull = open(_PATH_DEVNULL, O_RDONLY);
if (devnull < 0) {
dropbear_exit("opening /dev/null: %d %s",