* UTF-8, that it not be empty, and that it not contain embedded forward
* slashes. Also checks that the length of the string is not more than the
* maximum allowed length. This function does allow the names "." and "..".
- * Returns TRUE if te string is allowed as a filename. */
+ * Returns TRUE if the string is allowed as a filename. */
gboolean validate_filename(const char *filename)
{
if (filename == NULL || filename[0] == '\0')
file->nlink = 1;
file->mode = 0755;
int64_t time = bluesky_get_current_time();
- printf("time: %lld\n", time);
+ printf("time: %"PRIi64"\n", time);
file->mtime = time;
file->ctime = time;
file->atime = time;
static entry3 dirents[MAX_READDIR_DIRENTS];
int count = 0;
- BlueSkyDirent start = {NULL, argp->cookie, 0};
+ BlueSkyDirent start = {NULL, NULL, argp->cookie, 0};
GSequenceIter *i = g_sequence_search(dir->dirents, &start,
bluesky_dirent_compare, NULL);