diff options
| author | Joakim Verona | 2015-01-16 22:29:10 +0100 |
|---|---|---|
| committer | Joakim Verona | 2015-01-16 22:29:10 +0100 |
| commit | 5e2255017323c54feeaaee220175d7761a3b6ed1 (patch) | |
| tree | 3f843af60b826b63e12482301ce20745a95ede3e /src/process.c | |
| parent | b64675500decba1c707bc5d5c6d57f633934778f (diff) | |
| parent | 78e6ccc4a5006272b14f352e459a6d3bf52ed07b (diff) | |
| download | emacs-5e2255017323c54feeaaee220175d7761a3b6ed1.tar.gz emacs-5e2255017323c54feeaaee220175d7761a3b6ed1.zip | |
merge master
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 77c94f29211..0789f20f1d2 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -422,6 +422,11 @@ pset_write_queue (struct Lisp_Process *p, Lisp_Object val) | |||
| 422 | } | 422 | } |
| 423 | 423 | ||
| 424 | 424 | ||
| 425 | static Lisp_Object | ||
| 426 | make_lisp_proc (struct Lisp_Process *p) | ||
| 427 | { | ||
| 428 | return make_lisp_ptr (p, Lisp_Vectorlike); | ||
| 429 | } | ||
| 425 | 430 | ||
| 426 | static struct fd_callback_data | 431 | static struct fd_callback_data |
| 427 | { | 432 | { |
| @@ -687,7 +692,15 @@ allocate_pty (char pty_name[PTY_NAME_SIZE]) | |||
| 687 | #endif /* HAVE_PTYS */ | 692 | #endif /* HAVE_PTYS */ |
| 688 | return -1; | 693 | return -1; |
| 689 | } | 694 | } |
| 690 | 695 | ||
| 696 | /* Allocate basically initialized process. */ | ||
| 697 | |||
| 698 | static struct Lisp_Process * | ||
| 699 | allocate_process (void) | ||
| 700 | { | ||
| 701 | return ALLOCATE_ZEROED_PSEUDOVECTOR (struct Lisp_Process, pid, PVEC_PROCESS); | ||
| 702 | } | ||
| 703 | |||
| 691 | static Lisp_Object | 704 | static Lisp_Object |
| 692 | make_process (Lisp_Object name) | 705 | make_process (Lisp_Object name) |
| 693 | { | 706 | { |