mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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] <e6bb110663
>
[2] <https://externals.io/message/96838>
This commit is contained in:
parent
62b34412dc
commit
efcdcd7bde
1 changed files with 0 additions and 4 deletions
|
@ -408,9 +408,6 @@ static void *fontFetch (char **error, void *key)
|
||||||
path = gdEstrdup (fontsearchpath);
|
path = gdEstrdup (fontsearchpath);
|
||||||
|
|
||||||
/* if name is an absolute filename then test directly */
|
/* if name is an absolute filename then test directly */
|
||||||
#ifdef NETWARE
|
|
||||||
if (*name == '/' || (name[0] != 0 && strstr(name, ":/"))) {
|
|
||||||
#else
|
|
||||||
/* Actual length doesn't matter, just the minimum does up to length 2. */
|
/* Actual length doesn't matter, just the minimum does up to length 2. */
|
||||||
unsigned int min_length = 0;
|
unsigned int min_length = 0;
|
||||||
if (name[0] != '\0') {
|
if (name[0] != '\0') {
|
||||||
|
@ -422,7 +419,6 @@ static void *fontFetch (char **error, void *key)
|
||||||
}
|
}
|
||||||
ZEND_IGNORE_VALUE(min_length); /* On Posix systems this may be unused */
|
ZEND_IGNORE_VALUE(min_length); /* On Posix systems this may be unused */
|
||||||
if (IS_ABSOLUTE_PATH(name, min_length)) {
|
if (IS_ABSOLUTE_PATH(name, min_length)) {
|
||||||
#endif
|
|
||||||
snprintf(fullname, sizeof(fullname) - 1, "%s", name);
|
snprintf(fullname, sizeof(fullname) - 1, "%s", name);
|
||||||
if (access(fullname, R_OK) == 0) {
|
if (access(fullname, R_OK) == 0) {
|
||||||
font_found++;
|
font_found++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue