View | Details | Raw Unified | Return to issue 10910
Collapse All | Expand All

(-)dmake/tempnam.c (-2 / +4 lines)
Lines 54-61 Link Here
54
/*        dir = TempDirImpl(sBuf);*/
54
/*        dir = TempDirImpl(sBuf);*/
55
	
55
	
56
	while ( dir[0] == '\0' && n < TempVarianten)
56
	while ( dir[0] == '\0' && n < TempVarianten)
57
	{
57
	{	char* EnvTempPath = getenv(TempPath[n]);
58
		strcpy(dir, getenv(TempPath[n]));
58
		if( EnvTempPath != NULL ) {
59
			strcpy(dir, EnvTempPath);
60
		}
59
		n++;
61
		n++;
60
	}
62
	}
61
	if ( dir[0] == '\0' )
63
	if ( dir[0] == '\0' )

Return to issue 10910