Bash-4.4 distribution sources and documentation
This commit is contained in:
parent
30a978b7d8
commit
a0c0a00fc4
588 changed files with 130746 additions and 80164 deletions
|
|
@ -39,6 +39,7 @@
|
|||
#include "shell.h"
|
||||
#include "builtins.h"
|
||||
#include "common.h"
|
||||
#include "getopt.h"
|
||||
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
|
|
@ -46,8 +47,10 @@ extern int errno;
|
|||
|
||||
extern char **make_builtin_argv ();
|
||||
|
||||
static void perms();
|
||||
static int printst();
|
||||
static int printsome();
|
||||
static void printmode();
|
||||
static int printfinfo();
|
||||
static int finfo_main();
|
||||
|
||||
|
|
@ -192,7 +195,7 @@ int m;
|
|||
return (m & (S_IRWXU|S_IRWXG|S_IRWXO|S_ISUID|S_ISGID));
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
perms(m)
|
||||
int m;
|
||||
{
|
||||
|
|
@ -236,7 +239,7 @@ int m;
|
|||
printf ("u=%s,g=%s,o=%s", ubits, gbits, obits);
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
printmode(mode)
|
||||
int mode;
|
||||
{
|
||||
|
|
@ -262,7 +265,7 @@ int mode;
|
|||
printf("\n");
|
||||
}
|
||||
|
||||
static int
|
||||
static int
|
||||
printst(st)
|
||||
struct stat *st;
|
||||
{
|
||||
|
|
@ -459,7 +462,7 @@ char **argv;
|
|||
void
|
||||
builtin_usage()
|
||||
{
|
||||
fprintf(stderr, "%s: usage: %s [-%s] [file ...]\n", prog, OPTIONS);
|
||||
fprintf(stderr, "%s: usage: %s [-%s] [file ...]\n", prog, prog, OPTIONS);
|
||||
}
|
||||
|
||||
#ifndef HAVE_STRERROR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue