mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Add syscalls to Blinkenlights and fix bugs
This commit is contained in:
parent
f6df29cc3d
commit
578cb21591
25 changed files with 187 additions and 108 deletions
6
third_party/getopt/getopt.c
vendored
6
third_party/getopt/getopt.c
vendored
|
@ -79,8 +79,10 @@ hidden char *getopt_place;
|
|||
char kGetoptEmsg[1] hidden;
|
||||
|
||||
static void getopt_print_badch(const char *s) {
|
||||
fputs(program_invocation_name, stderr);
|
||||
fputs(": ", stderr);
|
||||
if (program_invocation_name) {
|
||||
fputs(program_invocation_name, stderr);
|
||||
fputs(": ", stderr);
|
||||
}
|
||||
fputs(s, stderr);
|
||||
fputs(" -- ", stderr);
|
||||
fputc(optopt, stderr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue