[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 07/62: src/preproc/html/pre-html.cpp: Annotate issue.
From: |
G. Branden Robinson |
Subject: |
[groff] 07/62: src/preproc/html/pre-html.cpp: Annotate issue. |
Date: |
Thu, 20 Apr 2023 06:14:28 -0400 (EDT) |
gbranden pushed a commit to branch branden-2023-04-20
in repository groff.
commit 0d1280b0e08d124a6e4e3570ee77804ac6371e41
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Apr 16 01:03:30 2023 -0500
src/preproc/html/pre-html.cpp: Annotate issue.
Throw more light on this troublesome code.
---
src/preproc/html/pre-html.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index fecfb0539..6bfab94b0 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -70,6 +70,14 @@
// Most MS-DOS and Win32 environments will be missing the 'fork'
// capability (some, like Cygwin, have it, but it is better avoided).
+//
+// Bruno Haible adds in 2023:
+// However, because on Cygwin, neither ... __MSDOS__ [nor] _WIN32 is
+// defined, the code [here] *will* use fork() on Cygwin. Which works
+// fine, but is known to be slow. However, I don't know whether the
+// native Windows code (_WIN32) will work on Cygwin: many native
+// Windows APIs don't work right from within Cygwin, because the
+// worlds inside and outside a Cygwin process are quite different.
# define MAY_FORK_CHILD_PROCESS 0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 07/62: src/preproc/html/pre-html.cpp: Annotate issue.,
G. Branden Robinson <=