We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b3441 commit efcdcd7Copy full SHA for efcdcd7
ext/gd/libgd/gdft.c
@@ -408,9 +408,6 @@ static void *fontFetch (char **error, void *key)
408
path = gdEstrdup (fontsearchpath);
409
410
/* if name is an absolute filename then test directly */
411
-#ifdef NETWARE
412
- if (*name == '/' || (name[0] != 0 && strstr(name, ":/"))) {
413
-#else
414
/* Actual length doesn't matter, just the minimum does up to length 2. */
415
unsigned int min_length = 0;
416
if (name[0] != '\0') {
@@ -422,7 +419,6 @@ static void *fontFetch (char **error, void *key)
422
419
}
423
420
ZEND_IGNORE_VALUE(min_length); /* On Posix systems this may be unused */
424
421
if (IS_ABSOLUTE_PATH(name, min_length)) {
425
-#endif
426
snprintf(fullname, sizeof(fullname) - 1, "%s", name);
427
if (access(fullname, R_OK) == 0) {
428
font_found++;
0 commit comments