version 1.45, 2011/10/09 21:33:43 |
version 1.46, 2012/01/28 02:35:46 |
Line 784 ffs_populate_dir(const char *dir, fsnode |
|
Line 784 ffs_populate_dir(const char *dir, fsnode |
|
continue; /* skip hard-linked entries */ |
continue; /* skip hard-linked entries */ |
cur->inode->flags |= FI_WRITTEN; |
cur->inode->flags |= FI_WRITTEN; |
|
|
if (snprintf(path, sizeof(path), "%s/%s", dir, cur->name) |
if ((size_t)snprintf(path, sizeof(path), "%s/%s/%s", cur->root, |
>= sizeof(path)) |
cur->path, cur->name) >= sizeof(path)) |
errx(1, "Pathname too long."); |
errx(1, "Pathname too long."); |
|
|
if (cur->child != NULL) |
if (cur->child != NULL) |