Commit 93ea10ba by Mumit Khan Committed by Jeff Law

* collect2.c (collect_execute): Remove cygwin-specific code.

From-SVN: r25123
parent ff2a6c32
Wed Feb 10 10:05:23 1999 Mumit Khan <khan@xraylith.wisc.edu>
* collect2.c (collect_execute): Remove cygwin-specific code.
Tue Feb 9 17:27:29 GMT 1999 Nathan Sidwell <nathan@acm.org>
* system.h (_, N_): Remove dummy i18n macros.
......
......@@ -48,9 +48,6 @@ Boston, MA 02111-1307, USA. */
#include "demangle.h"
#include "obstack.h"
#include "intl.h"
#ifdef __CYGWIN__
#include <process.h>
#endif
/* Obstack allocation and deallocation routines. */
#define obstack_chunk_alloc xmalloc
......@@ -1733,7 +1730,6 @@ collect_execute (prog, argv, redir)
if (argv[0] == 0)
fatal ("cannot find `%s'", prog);
#ifndef __CYGWIN__
pid = vfork ();
if (pid == -1)
fatal_perror (VFORK_STRING);
......@@ -1752,11 +1748,6 @@ collect_execute (prog, argv, redir)
execvp (argv[0], argv);
fatal_perror ("execvp %s", prog);
}
#else
pid = _spawnvp (_P_NOWAIT, argv[0], argv);
if (pid == -1)
fatal ("spawnvp failed");
#endif
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment