diff options
| author | Eli Zaretskii | 2009-01-03 15:09:27 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-01-03 15:09:27 +0000 |
| commit | c4605e09f3345588614ea2f2d8ceb9a99022aff5 (patch) | |
| tree | 223df55a38998c41e16611e469d45bdb9448cad8 /src | |
| parent | ec06ec19fddd45f788cfea4953a23ab0c82bb766 (diff) | |
| download | emacs-c4605e09f3345588614ea2f2d8ceb9a99022aff5.tar.gz emacs-c4605e09f3345588614ea2f2d8ceb9a99022aff5.zip | |
(list_system_processes, system_process_attributes) [MSDOS]: Don't use the
default (no-op) implementation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 20 | ||||
| -rw-r--r-- | src/sysdep.c | 12 |
2 files changed, 27 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index aa13e72da71..b6289f4a09d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2009-01-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * process.c: (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess) | ||
| 4 | (Qttname, Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime) | ||
| 5 | (Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs) | ||
| 6 | (Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime) | ||
| 7 | [!subprocesses]: Define. | ||
| 8 | (syms_of_process) [!subprocesses]: Intern and staticpro them. | ||
| 9 | (Flist_system_processes, Fsystem_process_attributes) | ||
| 10 | [!subprocesses]: Call list_system_processes and | ||
| 11 | system_process_attributes instead of returning Qnil. | ||
| 12 | |||
| 13 | * dosfns.c (system_process_attributes, list_system_processes): New | ||
| 14 | functions. | ||
| 15 | |||
| 16 | * vm-limit.c (ret_lim_data) [MSDOS]: New function. | ||
| 17 | |||
| 18 | * sysdep.c (list_system_processes, system_process_attributes) [MSDOS]: | ||
| 19 | Don't use the default (no-op) implementation. | ||
| 20 | |||
| 1 | 2009-01-03 Jason Rumney <jasonr@gnu.org> | 21 | 2009-01-03 Jason Rumney <jasonr@gnu.org> |
| 2 | 22 | ||
| 3 | * keyboard.c (parse_modifiers_uncached): Wheel events are | 23 | * keyboard.c (parse_modifiers_uncached): Wheel events are |
diff --git a/src/sysdep.c b/src/sysdep.c index fe3a55bdda6..c1f193f96b6 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Interfaces to system-dependent kernel and library entries. | 1 | /* Interfaces to system-dependent kernel and library entries. |
| 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, | 2 | Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001, |
| 3 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 3 | 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 4 | Free Software Foundation, Inc. | 4 | Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| @@ -3219,8 +3219,9 @@ list_system_processes () | |||
| 3219 | return proclist; | 3219 | return proclist; |
| 3220 | } | 3220 | } |
| 3221 | 3221 | ||
| 3222 | /* The WINDOWSNT implementation is on w32.c. */ | 3222 | /* The WINDOWSNT implementation is on w32.c. |
| 3223 | #elif !defined (WINDOWSNT) | 3223 | The MSDOS implementation is on dosfns.c. */ |
| 3224 | #elif !defined (WINDOWSNT) && !defined (MSDOS) | ||
| 3224 | 3225 | ||
| 3225 | Lisp_Object | 3226 | Lisp_Object |
| 3226 | list_system_processes () | 3227 | list_system_processes () |
| @@ -3761,8 +3762,9 @@ system_process_attributes (Lisp_Object pid) | |||
| 3761 | return attrs; | 3762 | return attrs; |
| 3762 | } | 3763 | } |
| 3763 | 3764 | ||
| 3764 | /* The WINDOWSNT implementation is on w32.c. */ | 3765 | /* The WINDOWSNT implementation is on w32.c. |
| 3765 | #elif !defined (WINDOWSNT) | 3766 | The MSDOS implementation is on dosfns.c. */ |
| 3767 | #elif !defined (WINDOWSNT) && !defined (MSDOS) | ||
| 3766 | 3768 | ||
| 3767 | Lisp_Object | 3769 | Lisp_Object |
| 3768 | system_process_attributes (Lisp_Object pid) | 3770 | system_process_attributes (Lisp_Object pid) |