Skip to content

Commit

Permalink
wlib: fix for issue #1207
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Feb 24, 2024
1 parent 99d68f9 commit 31f7084
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bld/mstools/lib/c/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Open Watcom Project
*
* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
Expand Down Expand Up @@ -35,6 +35,7 @@
#include <stdlib.h>
#include <string.h>
#include <direct.h>
#include "wio.h"
#include "bool.h"
#include "watcom.h"
#include "lib.h"
Expand Down Expand Up @@ -144,6 +145,8 @@ static void VerifyAddFile( const char *filename )
}
} else {
newfilename = VerifyDot( newfilename );
if( access( newfilename, F_OK ) != 0 )
FatalError( "can't find following file: %s", newfilename );
AddFile( TYPE_DEFAULT_FILE, newfilename );
FreeMem( newfilename );
}
Expand Down

0 comments on commit 31f7084

Please sign in to comment.