File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -408,9 +408,6 @@ static void *fontFetch (char **error, void *key)
408
408
path = gdEstrdup (fontsearchpath );
409
409
410
410
/* if name is an absolute filename then test directly */
411
- #ifdef NETWARE
412
- if (* name == '/' || (name [0 ] != 0 && strstr (name , ":/" ))) {
413
- #else
414
411
/* Actual length doesn't matter, just the minimum does up to length 2. */
415
412
unsigned int min_length = 0 ;
416
413
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
422
snprintf (fullname , sizeof (fullname ) - 1 , "%s" , name );
427
423
if (access (fullname , R_OK ) == 0 ) {
428
424
font_found ++ ;
You can’t perform that action at this time.
0 commit comments