Commit 6e172db1 authored by rswindell's avatar rswindell
Browse files

Using fpath instead of fullpath for local variable name (conflicts with

function by same name in Digital Mars CRTL).
parent c4af880c
......@@ -35,7 +35,7 @@ int main()
{
char str[128];
char compiler[128];
char fullpath[MAX_PATH+1];
char fpath[MAX_PATH+1];
char* path = ".";
char* glob_pattern = "*wrap*";
int i;
......@@ -207,7 +207,7 @@ int main()
/* opendir (and other directory functions) test */
printf("\nopendir(%s) test\n",path);
getkey();
printf("\nDirectory of %s\n\n",FULLPATH(fullpath,path,sizeof(fullpath)));
printf("\nDirectory of %s\n\n",FULLPATH(fpath,path,sizeof(fpath)));
dir=opendir(path);
while(dir!=NULL && (dirent=readdir(dir))!=NULL) {
t=fdate(dirent->d_name);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment