Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
98423852
Commit
98423852
authored
Feb 28, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_process): Use allocate_process.
parent
e9c96c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/process.c
src/process.c
+2
-7
No files found.
src/process.c
View file @
98423852
/* Asynchronous subprocess control for GNU Emacs.
Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 96, 98, 1999
Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 96, 98, 1999
, 2001
Free Software Foundation, Inc.
This file is part of GNU Emacs.
...
...
@@ -434,17 +434,12 @@ Lisp_Object
make_process
(
name
)
Lisp_Object
name
;
{
struct
Lisp_Vector
*
vec
;
register
Lisp_Object
val
,
tem
,
name1
;
register
struct
Lisp_Process
*
p
;
char
suffix
[
10
];
register
int
i
;
vec
=
allocate_vectorlike
((
EMACS_INT
)
VECSIZE
(
struct
Lisp_Process
));
for
(
i
=
0
;
i
<
VECSIZE
(
struct
Lisp_Process
);
i
++
)
vec
->
contents
[
i
]
=
Qnil
;
vec
->
size
=
VECSIZE
(
struct
Lisp_Process
);
p
=
(
struct
Lisp_Process
*
)
vec
;
p
=
allocate_process
();
XSETINT
(
p
->
infd
,
-
1
);
XSETINT
(
p
->
outfd
,
-
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment