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.
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);
}
}
case '=':
break;
default:
- builtin_error ("bad symbolic mode operator: %c", op);
+ builtin_error ("`%c': invalid symbolic mode operator", op);
return (-1);
}
}
else
{
- builtin_error ("bad character in symbolic mode: %c", *s);
+ builtin_error ("`%c': invalid symbolic mode character", *s);
return (-1);
}
}