RLN will now yell at you if you give it an include path that doesn't
exist. Thanks to ggn for the idea! :-)
ExitLinker();
}
+ // Check to see if include paths actually exist
+ if (strlen(libdir) > 0)
+ {
+ DIR * test = opendir(libdir);
+
+ if (test == NULL)
+ {
+ printf("Invalid include path: %s\n", libdir);
+ errflag = 1;
+ ExitLinker();
+ }
+
+ closedir(test);
+ }
+
if (!zflag && !vflag)
{
ShowVersion(); // Display version information
#define MAJOR 1 // Major version number
#define MINOR 6 // Minor version number
-#define PATCH 2 // Patch release number
+#define PATCH 3 // Patch release number
#ifdef WIN32
#define PLATFORM "Win32" // Release platform - Windows
// Rather than rely on dodgy compilers for something that's now a C99 standard,
// let's do this:
#include <stdint.h>
+#include <dirent.h>
struct OHEADER
{