Skip to content

Commit efcdcd7

Browse files
authored
Drop NetWare support from bundled libgd (GH-17596)
This has been removed from upstream years ago[1], and PHP generally dropped NetWare support even earlier. [1] <libgd/libgd@e6bb110> [2] <https://externals.io/message/96838>
1 parent 62b3441 commit efcdcd7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/gd/libgd/gdft.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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++;

0 commit comments

Comments
 (0)