Imported from ../bash-2.05b.tar.gz.

This commit is contained in:
Jari Aalto 2002-07-17 14:10:11 +00:00
commit 7117c2d221
362 changed files with 34387 additions and 15063 deletions

View file

@ -1,7 +1,7 @@
This file is umask.def, from which is created umask.c.
It implements the builtin "umask" in Bash.
Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc.
Copyright (C) 1987-2002 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@ -107,8 +107,7 @@ umask_builtin (list)
is lousy. */
if (umask_value == -1)
{
builtin_error ("`%s' is not an octal number from 000 to 777",
list->word->word);
sh_erange (list->word->word, "octal number");
return (EXECUTION_FAILURE);
}
}
@ -222,7 +221,7 @@ parse_symbolic_mode (mode, initial_bits)
case '=':
break;
default:
builtin_error ("bad symbolic mode operator: %c", op);
builtin_error ("`%c': invalid symbolic mode operator", op);
return (-1);
}
@ -275,7 +274,7 @@ parse_symbolic_mode (mode, initial_bits)
}
else
{
builtin_error ("bad character in symbolic mode: %c", *s);
builtin_error ("`%c': invalid symbolic mode character", *s);
return (-1);
}
}