* bug#62462: 30.0.50; Implement list-system-processes on Cygwin
@ 2023-03-26 14:25 Ken Brown
2023-03-26 14:55 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Ken Brown @ 2023-03-26 14:25 UTC (permalink / raw)
To: 62462
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
I've just discovered, because of the failure of all the proced tests,
that list-system-processes has never been implemented on Cygwin (i.e.,
it always returns nil). All that's needed to fix this is to tell Emacs
that Cygwin has a /proc filesystem.
Patch attached, with a place holder for the bug number. With this patch
applied, all of the proced tests pass. OK to push to master?
Ken
[-- Attachment #2: 0001-Implement-list-system-processes-on-Cygwin.patch --]
[-- Type: text/plain, Size: 726 bytes --]
From 1e86040b1b467a42d9e2219ac17d886eae057567 Mon Sep 17 00:00:00 2001
From: Ken Brown <kbrown@cornell.edu>
Date: Sat, 25 Mar 2023 18:59:33 -0400
Subject: [PATCH] Implement list-system-processes on Cygwin
* configure.ac (HAVE_PROCFS): Define to 1 on Cygwin. (Bug#624XX)
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c5300beb2ba1..95701b557042 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5621,7 +5621,7 @@ AC_DEFUN
esac
case $opsys in
- gnu-* | solaris )
+ gnu-* | solaris | cygwin )
dnl FIXME Can't we test if this exists (eg /proc/$$)?
AC_DEFINE([HAVE_PROCFS], [1], [Define if you have the /proc filesystem.])
;;
--
2.39.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#62462: 30.0.50; Implement list-system-processes on Cygwin
2023-03-26 14:25 bug#62462: 30.0.50; Implement list-system-processes on Cygwin Ken Brown
@ 2023-03-26 14:55 ` Eli Zaretskii
2023-03-26 15:07 ` Ken Brown
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-03-26 14:55 UTC (permalink / raw)
To: Ken Brown; +Cc: 62462
> Date: Sun, 26 Mar 2023 10:25:41 -0400
> From: Ken Brown <kbrown@cornell.edu>
>
> I've just discovered, because of the failure of all the proced tests,
> that list-system-processes has never been implemented on Cygwin (i.e.,
> it always returns nil). All that's needed to fix this is to tell Emacs
> that Cygwin has a /proc filesystem.
>
> Patch attached, with a place holder for the bug number. With this patch
> applied, all of the proced tests pass. OK to push to master?
Yes, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#62462: 30.0.50; Implement list-system-processes on Cygwin
2023-03-26 14:55 ` Eli Zaretskii
@ 2023-03-26 15:07 ` Ken Brown
0 siblings, 0 replies; 3+ messages in thread
From: Ken Brown @ 2023-03-26 15:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 62462-done
On 3/26/2023 10:55 AM, Eli Zaretskii wrote:
>> Date: Sun, 26 Mar 2023 10:25:41 -0400
>> From: Ken Brown <kbrown@cornell.edu>
>> Patch attached, with a place holder for the bug number. With this patch
>> applied, all of the proced tests pass. OK to push to master?
>
> Yes, thanks.
Done. Closing.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-26 15:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-26 14:25 bug#62462: 30.0.50; Implement list-system-processes on Cygwin Ken Brown
2023-03-26 14:55 ` Eli Zaretskii
2023-03-26 15:07 ` Ken Brown
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.