reintegrate NetBSD's false builtin
This commit is contained in:
parent
83b8a2f413
commit
542ace3bab
|
@ -64,6 +64,7 @@ exitcmd exit
|
|||
expcmd exp let
|
||||
exportcmd export readonly
|
||||
#exprcmd expr test [
|
||||
falsecmd false
|
||||
histcmd fc
|
||||
fgcmd -j fg
|
||||
getoptscmd getopts
|
||||
|
|
|
@ -64,6 +64,7 @@ exitcmd exit
|
|||
expcmd exp let
|
||||
exportcmd export readonly
|
||||
#exprcmd expr test [
|
||||
falsecmd false
|
||||
histcmd fc
|
||||
fgcmd -j fg
|
||||
getoptscmd getopts
|
||||
|
|
|
@ -916,6 +916,11 @@ returncmd(argc, argv) char **argv; {
|
|||
}
|
||||
|
||||
|
||||
falsecmd(argc, argv) char **argv; {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
truecmd(argc, argv) char **argv; {
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue