1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 05:00:59 +01:00

12604: Remove calls to zpathmax(), minor fixes to zopenmax().

This commit is contained in:
Bart Schaefer 2000-08-14 07:30:28 +00:00
parent f9cda7964f
commit 135b181aa6
5 changed files with 56 additions and 47 deletions

View file

@ -91,11 +91,6 @@ bin_mkdir(char *nam, char **args, char *ops, int func)
while(ptr > *args + (**args == '/') && *--ptr == '/')
*ptr = 0;
if(zpathmax(unmeta(*args)) < 0) {
zwarnnam(nam, "%s: %e", *args, errno);
err = 1;
continue;
}
if(ops['p']) {
char *ptr = *args;