mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Add bash 5.2 to third_party
This commit is contained in:
parent
e1f65d5f2b
commit
f4a2a65cc8
237 changed files with 120739 additions and 1 deletions
33
third_party/bash/builtins_colon.c
vendored
Normal file
33
third_party/bash/builtins_colon.c
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
/* colon.c, created from colon.def. */
|
||||
#line 22 "./colon.def"
|
||||
|
||||
#line 34 "./colon.def"
|
||||
|
||||
#line 43 "./colon.def"
|
||||
|
||||
#line 52 "./colon.def"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if defined (HAVE_UNISTD_H)
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "bashansi.h"
|
||||
#include "shell.h"
|
||||
|
||||
/* Return a successful result. */
|
||||
int
|
||||
colon_builtin (ignore)
|
||||
WORD_LIST *ignore;
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* Return an unsuccessful result. */
|
||||
int
|
||||
false_builtin (ignore)
|
||||
WORD_LIST *ignore;
|
||||
{
|
||||
return (1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue