summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2019-09-09 22:06:25 +0000
committerIvan Zhakov <ivan@apache.org>2019-09-09 22:06:25 +0000
commit0ecb04a27c8f1a32953c3e8f0b2a30d799c6051d (patch)
tree68ae81ee3bea6eddac6e54f8d8ce80af3fcd96ef /threadproc
parent7d65a2d4c0079b669a6e02d849e1f72febbc7e23 (diff)
downloadapr-0ecb04a27c8f1a32953c3e8f0b2a30d799c6051d.tar.gz
* threadproc/win32/proc.c
(apr_proc_create): Remove Windows 98 compatibility code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1866714 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/win32/proc.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/threadproc/win32/proc.c b/threadproc/win32/proc.c
index 8f96ad6d9..4821ea676 100644
--- a/threadproc/win32/proc.c
+++ b/threadproc/win32/proc.c
@@ -437,13 +437,11 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *new,
* not manage the stdio handles properly when running old 16
* bit executables if the detached attribute is set.
*/
- if (apr_os_level >= APR_WIN_NT) {
- /*
- * XXX DETACHED_PROCESS won't on Win9x at all; on NT/W2K
- * 16 bit executables fail (MS KB: Q150956)
- */
- dwCreationFlags |= DETACHED_PROCESS;
- }
+ /*
+ * XXX DETACHED_PROCESS won't on Win9x at all; on NT/W2K
+ * 16 bit executables fail (MS KB: Q150956)
+ */
+ dwCreationFlags |= DETACHED_PROCESS;
}
/* progname must be unquoted, in native format, as there are all sorts