static struct elt *splitpath(const char *path, struct elt *tail)
{
struct elt *head, **ee = &head, *e;
+ size_t n;
while (*path) {
- size_t n;
/* --- Either a leading `/', or a doubled one --- *
*
struct stat st;
unsigned bad = 0;
dstr buf = DSTR_INIT;
+ int i;
/* --- Initialize stack pointer and path string --- */
/* --- Handle symbolic links specially --- */
if (S_ISLNK(st.st_mode)) {
- int i;
/* --- Resolve the link --- */
{ "verbose", 0, 0, 'v' },
{ 0, 0, 0, 0 }
};
- int i = mdwopt(argc, argv, "hVu" "g:pqstv", opts, 0, 0, 0);
+ i = mdwopt(argc, argv, "hVu" "g:pqstv", opts, 0, 0, 0);
if (i < 0)
break;
switch (i) {
{
int shell = 0;
int duff = 0;
+ int i;
char *p;
enum {
{ "verbose", 0, 0, 'v' },
{ 0, 0, 0, 0 }
};
- int i = mdwopt(argc, argv, "hVu" "C:bcg:v", opts, 0, 0, 0);
+ i = mdwopt(argc, argv, "hVu" "C:bcg:v", opts, 0, 0, 0);
if (i < 0)
break;
switch (i) {