Mercurial > emacs
view msdos/sed6.inp @ 100565:dcc7f5970d5c
Reorganize implementation of Flist_system_processes and
Fsystem_process_attributes. No functional changes.
* process.c: Don't #include pwd.h, grp.h and limits.h.
(Flist_system_processes): Just call list_system_processes.
(Fsystem_process_attributes): Just call system_process_attributes.
(procfs_list_system_processes, time_from_jiffies)
(ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
(procfs_get_total_memory, procfs_system_process_attributes): Move ...
* sysdep.c: ... here. Include pwd.h, grp.h and limits.h.
(list_system_processes): Rename from
procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS.
Provide a do nothing implementation.
(system_process_attributes): Rename from
procfs_list_system_processes.
(ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR)
(procfs_get_total_memory): Enclose in #ifdef GNU_LINUX.
* w32.c (list_system_processes): Rename from
w32_list_system_processes.
(system_process_attributes): Rename from
w32_system_process_attributes.
* s/gnu-linux.h (LISTPROC, PROCATTR): Remove.
* process.h (w32_list_system_processes)
(w32_system_process_attributes): Remove.
(list_system_processes, system_process_attributes): New
prototypes.
* config.nt (LISTPROC, PROCATTR): Remove.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 19 Dec 2008 19:50:35 +0000 |
parents | 0a4e0a4890cb |
children | dc97fcf1ed7e |
line wrap: on
line source
# -sed6.inp------------------------------------------------------------------ # Configuration script for doc/emacs/Makefile, doc/lispref/Makefile, # doc/lispintro/Makefile, and doc/misc/Makefile under DJGPP v2.x # --------------------------------------------------------------------------- # # Copyright (C) 1997, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is part of GNU Emacs. # # This file is free software; as a special exception, the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # # ---------------------------------------------------------------------- /^srcdir *=/s/@[^@\n]*@/./ /^VPATH *=/s/@[^@\n]*@/./ /^ENVADD/c\ ENVADD =\ export TEXINPUTS := $(srcdir)";"$(TEXINPUTS)\ export MAKEINFO := $(MAKEINFO) -I$(srcdir) /^texinputdir/c\ texinputdir =\ export texinputdir := $(srcdir)";"$(TEXINPUTS) /^SHELL *=/s/^/# / /^elisp.dvi:/,/^$/ { /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\ command.com /c 'if not a${permuted_index}==a sh ./permute-index' \ command.com /c 'if not a${permuted_index}==a mv permuted.fns elisp.fns' \ command.com /c 'if not a${permuted_index}==a texindex elisp.tp' \ command.com /c 'if a${permuted_index}==a texindex elisp.??' } /^index.texi:/,/^$/ { /^ *if \[ *\a${permuted_index}/,/^ *fi *$/c\ command.com /c 'if not a${permuted_index}==a cp -p ./index.perm index.texi' \ command.com /c 'if a${permuted_index}==a cp -p ./index.unperm index.texi' } /^maintainer-clean:/,/^$/ { s/^ for file in $(INFO_TARGETS)\; do rm -f.*$/ rm -f $(INFO_TARGETS)/ } # arch-tag: defe1001-f35a-47f7-9635-3f5d33ee5e97