From 7700434b5c52c609453111e16e49a2708d699041 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 8 Apr 2001 18:26:03 +0000 Subject: Add comments noting that vfork might be defined to be fork. --- gdb/ser-pipe.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/ser-pipe.c') diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c index 652d774..3e23287 100644 --- a/gdb/ser-pipe.c +++ b/gdb/ser-pipe.c @@ -65,6 +65,10 @@ pipe_open (serial_t scb, const char *name) if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0) return -1; + /* Create the child process to run the command in. Note that the + apparent call to vfork() below *might* actually be a call to + fork() due to the fact that autoconf will ``#define vfork fork'' + on certain platforms. */ pid = vfork (); /* Error. */ -- cgit v1.1