We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db4dfdc commit ca32638Copy full SHA for ca32638
1 file changed
Source/NSPathUtilities.m
@@ -397,8 +397,23 @@ @interface GSPathUtilities : NSObject
397
path = [dict objectForKey: key];
398
if (path != nil)
399
{
400
+ NSString *orig = path;
401
+
402
path = getPath(path);
- if ([path isAbsolutePath] == NO)
403
+ if ([path isAbsolutePath])
404
+ {
405
+ if (GSDebugSet(debugKey))
406
407
+ fprintf(stderr, "Configured path for '%s' is '%s'.\n",
408
+ [key UTF8String], [orig UTF8String]);
409
+ if (path != orig)
410
411
+ fprintf(stderr, " Resolved relative to '%s' as '%s'.\n",
412
+ [gnustepConfigPath UTF8String], [path UTF8String]);
413
+ }
414
415
416
+ else
417
418
fprintf(stderr, "GNUstep configuration file entry '%s' ('%s') is not "
419
"an absolute path.\nPlease fix your configuration file.\n",
0 commit comments