I should be more careful...

This commit is contained in:
Eric Andersen 2001-02-23 00:05:56 +00:00
parent c163e5107f
commit 41492d6c23
5 changed files with 11 additions and 7 deletions

View File

@ -91,7 +91,7 @@
#define date_full_usage \ #define date_full_usage \
"Displays the current time in the given FORMAT, or sets the system date.\n" \ "Displays the current time in the given FORMAT, or sets the system date.\n" \
"\nOptions:\n" \ "\nOptions:\n" \
\t-R\t\tOutputs RFC-822 compliant date string\n" \ "\t-R\t\tOutputs RFC-822 compliant date string\n" \
"\t-d STRING\tdisplay time described by STRING, not `now'\n" \ "\t-d STRING\tdisplay time described by STRING, not `now'\n" \
"\t-s\t\tSets time described by STRING\n" \ "\t-s\t\tSets time described by STRING\n" \
"\t-u\t\tPrints or sets Coordinated Universal Time" "\t-u\t\tPrints or sets Coordinated Universal Time"

View File

@ -91,7 +91,7 @@
#define date_full_usage \ #define date_full_usage \
"Displays the current time in the given FORMAT, or sets the system date.\n" \ "Displays the current time in the given FORMAT, or sets the system date.\n" \
"\nOptions:\n" \ "\nOptions:\n" \
\t-R\t\tOutputs RFC-822 compliant date string\n" \ "\t-R\t\tOutputs RFC-822 compliant date string\n" \
"\t-d STRING\tdisplay time described by STRING, not `now'\n" \ "\t-d STRING\tdisplay time described by STRING, not `now'\n" \
"\t-s\t\tSets time described by STRING\n" \ "\t-s\t\tSets time described by STRING\n" \
"\t-u\t\tPrints or sets Coordinated Universal Time" "\t-u\t\tPrints or sets Coordinated Universal Time"

6
init.c
View File

@ -93,8 +93,9 @@ static const int RB_AUTOBOOT = 0x01234567;
#endif #endif
#endif #endif
#undef _PATH_STDPATH #ifndef _PATH_STDPATH
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" #define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#endif
#if defined BB_FEATURE_INIT_COREDUMPS #if defined BB_FEATURE_INIT_COREDUMPS
@ -133,7 +134,8 @@ static _syscall2(int, bdflush, int, func, int, data);
#define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */ #define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */
#endif #endif
static const int MAXENV = 16; /* Number of env. vars */ #define MAXENV 16 /* Number of env. vars */
//static const int MAXENV = 16; /* Number of env. vars */
static const int LOG = 0x1; static const int LOG = 0x1;
static const int CONSOLE = 0x2; static const int CONSOLE = 0x2;

View File

@ -93,8 +93,9 @@ static const int RB_AUTOBOOT = 0x01234567;
#endif #endif
#endif #endif
#undef _PATH_STDPATH #ifndef _PATH_STDPATH
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" #define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#endif
#if defined BB_FEATURE_INIT_COREDUMPS #if defined BB_FEATURE_INIT_COREDUMPS
@ -133,7 +134,8 @@ static _syscall2(int, bdflush, int, func, int, data);
#define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */ #define INIT_SCRIPT "/etc/init.d/rcS" /* Default sysinit script. */
#endif #endif
static const int MAXENV = 16; /* Number of env. vars */ #define MAXENV 16 /* Number of env. vars */
//static const int MAXENV = 16; /* Number of env. vars */
static const int LOG = 0x1; static const int LOG = 0x1;
static const int CONSOLE = 0x2; static const int CONSOLE = 0x2;

View File

@ -91,7 +91,7 @@
#define date_full_usage \ #define date_full_usage \
"Displays the current time in the given FORMAT, or sets the system date.\n" \ "Displays the current time in the given FORMAT, or sets the system date.\n" \
"\nOptions:\n" \ "\nOptions:\n" \
\t-R\t\tOutputs RFC-822 compliant date string\n" \ "\t-R\t\tOutputs RFC-822 compliant date string\n" \
"\t-d STRING\tdisplay time described by STRING, not `now'\n" \ "\t-d STRING\tdisplay time described by STRING, not `now'\n" \
"\t-s\t\tSets time described by STRING\n" \ "\t-s\t\tSets time described by STRING\n" \
"\t-u\t\tPrints or sets Coordinated Universal Time" "\t-u\t\tPrints or sets Coordinated Universal Time"