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:
parent
f9cda7964f
commit
135b181aa6
5 changed files with 56 additions and 47 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue