0.26.1 C needs booleans

This commit is contained in:
Gwenhael Le Moine 2023-09-20 17:22:14 +02:00
parent 187a69534a
commit 29a5ae530d
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 6 additions and 3 deletions

View file

@ -2,7 +2,7 @@
VERSION_MAJOR = 0
VERSION_MINOR = 26
PATCHLEVEL = 0
PATCHLEVEL = 1
MAKEFLAGS +=-j$(NUM_CORES) -l$(NUM_CORES)

View file

@ -92,13 +92,16 @@ void get_absolute_config_dir( char* source, char* dest ) {
static inline void normalize_filenames( void ) {
struct stat st;
int normalized_config_path_exist = 0;
int normalized_config_path_exist = 1;
get_absolute_config_dir( configDir, normalized_config_path );
if ( verbose )
fprintf( stderr, "normalized_config_path: %s\n",
normalized_config_path );
if ( stat( normalized_config_path, &st ) == -1 )
if ( errno == ENOENT )
normalized_config_path_exist = 1;
normalized_config_path_exist = 0;
if ( romFileName[ 0 ] == '/' )
strcpy( normalized_rom_path, "" );