unix.c
changeset 1572 cf4613ca991e
parent 1509 795ba683e4f0
child 1596 483007886b59
equal deleted inserted replaced
1571:9afc220894dd 1572:cf4613ca991e
    88 	// Parent directory, only if not in root already.
    88 	// Parent directory, only if not in root already.
    89 	if (_fios_path[1] != '\0') {
    89 	if (_fios_path[1] != '\0') {
    90 		fios = FiosAlloc();
    90 		fios = FiosAlloc();
    91 		fios->type = FIOS_TYPE_PARENT;
    91 		fios->type = FIOS_TYPE_PARENT;
    92 		fios->mtime = 0;
    92 		fios->mtime = 0;
       
    93 		strcpy(fios->name, "..");
    93 		strcpy(fios->title, ".. (Parent directory)");
    94 		strcpy(fios->title, ".. (Parent directory)");
    94 	}
    95 	}
    95 
    96 
    96 	// Show subdirectories first
    97 	// Show subdirectories first
    97 	dir = opendir(_fios_path[0] != '\0' ? _fios_path : "/");
    98 	dir = opendir(_fios_path[0] != '\0' ? _fios_path : "/");