Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Jun 24, 2019

The signal.h header is part of the C89 standard and is present on all today's systems already. The HAVE_SIGNAL_H symbol is defined by PHP's build system and relying on it is neither a good practice neither needed anymore since the signal.h check would always define it.

http://port70.net/~nsz/c/c89/c89-draft.html#4.1.2

Related to removal via php/php-src#4298

The signal.h header is part of the C89 standard and is present on
all today's systems already. The HAVE_SIGNAL_H symbol is defined
by PHP's build system and relying on it is neither a good practice
neither needed anymore since the signal.h check would always define
it.

http://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
@johannes
Copy link
Member

Yeah, I guess that could be done ... while this is only kept for compatibility anyways and users should migrate to mysqli or pdo.

@petk
Copy link
Member Author

petk commented Jul 19, 2019

Great, thanks for the reply. Next step would be probably merging this?

@petk petk closed this Jul 22, 2019
@petk petk deleted the patch-signal-h branch July 22, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants