hello,
the following possible bug was found in v5.0. I didn't test it with v6rc2, but since I didn't find _makepath() mentioned in the change log shipping with v6 there may be a chance that it still occurs.
Problem: makepath() doesn't add filename and extension to the path.
Test case:
#include <stdio.h>
#include <stdlib.h>
char drive[] = {"\0"};
char dir[] = {"\\masm32\\include\\"};
char fname[] = {"windows"};
char ext[] = {".inc"};
int main()
{
char fullpath[FILENAME_MAX];
_makepath( fullpath, drive, dir, fname, ext );
printf( "fullpath=%s\n", fullpath );
return(0);
}
the resulting program displays:
fullpath=\masm32\include\
OTOH, with MS VC, the program displays:
fullpath=\masm32\include\windows.inc
which is what I do expect.