summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
committerKalle Sommer Nielsen <kalle@php.net>2016-11-12 11:20:01 +0100
commit2104bea5d756dfa40b605a4a2765a3bc4637a76c (patch)
tree68be7fbf19a8acf7badda5cfc97a6b00fb36d4d7 /TSRM/TSRM.c
parentb3093082fdca748846c37dd52c9b0e978cc772f4 (diff)
downloadphp-git-2104bea5d756dfa40b605a4a2765a3bc4637a76c.tar.gz
Remove Netware support
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r--TSRM/TSRM.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index 386b682ea7..6669df6d43 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -318,15 +318,6 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id)
int hash_value;
tsrm_tls_entry *thread_resources;
-#ifdef NETWARE
- /* The below if loop is added for NetWare to fix an abend while unloading PHP
- * when an Apache unload command is issued on the system console.
- * While exiting from PHP, at the end for some reason, this function is called
- * with tsrm_tls_table = NULL. When this happened, the server abends when
- * tsrm_tls_table is accessed since it is NULL.
- */
- if(tsrm_tls_table) {
-#endif
if (!th_id) {
/* Fast path for looking up the resources for the current
* thread. Its used by just about every call to
@@ -380,9 +371,6 @@ TSRM_API void *ts_resource_ex(ts_rsrc_id id, THREAD_T *th_id)
* changes to the structure as we read it.
*/
TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id, thread_resources->count);
-#ifdef NETWARE
- } /* if(tsrm_tls_table) */
-#endif
}
/* frees an interpreter context. You are responsible for making sure that