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)
408408 path = gdEstrdup (fontsearchpath );
409409
410410 /* if name is an absolute filename then test directly */
411- #ifdef NETWARE
412- if (* name == '/' || (name [0 ] != 0 && strstr (name , ":/" ))) {
413- #else
414411 /* Actual length doesn't matter, just the minimum does up to length 2. */
415412 unsigned int min_length = 0 ;
416413 if (name [0 ] != '\0' ) {
@@ -422,7 +419,6 @@ static void *fontFetch (char **error, void *key)
422419 }
423420 ZEND_IGNORE_VALUE (min_length ); /* On Posix systems this may be unused */
424421 if (IS_ABSOLUTE_PATH (name , min_length )) {
425- #endif
426422 snprintf (fullname , sizeof (fullname ) - 1 , "%s" , name );
427423 if (access (fullname , R_OK ) == 0 ) {
428424 font_found ++ ;
You can’t perform that action at this time.
0 commit comments