This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* If DIR is the empty string, then the chdir above
must have failed and set errno to ENOENT. */
/* If DIR is the empty string, then the chdir above
must have failed and set errno to ENOENT. */
/* Count leading slashes. */
n_leading_slash = strspn (dir, "/");
/* Count leading slashes. */
n_leading_slash = strspn (dir, "/");