From 2104bea5d756dfa40b605a4a2765a3bc4637a76c Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sat, 12 Nov 2016 11:20:01 +0100 Subject: 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. --- TSRM/TSRM.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'TSRM/TSRM.c') 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 -- cgit v1.2.1