mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
whitespace fixes
This commit is contained in:
parent
542963685c
commit
56244736ec
@ -505,7 +505,7 @@ getopt32(char **argv, const char *applet_opts, ...)
|
|||||||
* affairs is that BSD-derived versions of getopt() misbehave if
|
* affairs is that BSD-derived versions of getopt() misbehave if
|
||||||
* optind is set to 0 in order to reset getopt(), and glibc's getopt()
|
* optind is set to 0 in order to reset getopt(), and glibc's getopt()
|
||||||
* will core dump if optind is set 1 in order to reset getopt().
|
* will core dump if optind is set 1 in order to reset getopt().
|
||||||
*
|
*
|
||||||
* More modern versions of BSD require that optreset be set to 1 in
|
* More modern versions of BSD require that optreset be set to 1 in
|
||||||
* order to reset getopt(). Sigh. Standards, anyone?
|
* order to reset getopt(). Sigh. Standards, anyone?
|
||||||
*/
|
*/
|
||||||
|
@ -19,7 +19,7 @@ static void signal_handler(int signo)
|
|||||||
|
|
||||||
// set raw tty mode
|
// set raw tty mode
|
||||||
static void xget1(int fd, struct termios *t, struct termios *oldt)
|
static void xget1(int fd, struct termios *t, struct termios *oldt)
|
||||||
{
|
{
|
||||||
tcgetattr(fd, oldt);
|
tcgetattr(fd, oldt);
|
||||||
*t = *oldt;
|
*t = *oldt;
|
||||||
cfmakeraw(t);
|
cfmakeraw(t);
|
||||||
|
@ -9115,7 +9115,7 @@ setparam(char **argv)
|
|||||||
* For a non-interactive shell, an error condition encountered
|
* For a non-interactive shell, an error condition encountered
|
||||||
* by a special built-in ... shall cause the shell to write a diagnostic message
|
* by a special built-in ... shall cause the shell to write a diagnostic message
|
||||||
* to standard error and exit as shown in the following table:
|
* to standard error and exit as shown in the following table:
|
||||||
* Error Special Built-In
|
* Error Special Built-In
|
||||||
* ...
|
* ...
|
||||||
* Utility syntax error (option or operand error) Shall exit
|
* Utility syntax error (option or operand error) Shall exit
|
||||||
* ...
|
* ...
|
||||||
|
Loading…
Reference in New Issue
Block a user