PR 369/filesystem
	* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
	show the use of the DOSFS functions
	* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
	fsmount/fsmount.h: New files.
This commit is contained in:
Jennifer Averett
2003-08-06 19:14:14 +00:00
parent 1d2dbec76d
commit ce275cffd6
8 changed files with 345 additions and 2 deletions

View File

@@ -286,7 +286,7 @@ int main_ls(int argc, char *argv[])
strcat(nbuf,dp->d_name); /* always the fullpathname. Avoid ftpd problem.*/
if (stat(nbuf, &stat_buf) == 0)
{ /* AWFUL buts works...*/
strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_atime));
strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_mtime));
pwd=getpwuid(stat_buf.st_uid);
user=pwd?pwd->pw_name:"nouser";
grp=getgrgid(stat_buf.st_gid);