* patch for dos-compatibility
@ 1997-10-15 16:57 Marc Lehmann
0 siblings, 0 replies; only message in thread
From: Marc Lehmann @ 1997-10-15 16:57 UTC (permalink / raw)
To: egcs, gcc2
ps isn't available under plain DOS, executing -dm causes
an error to be printed ("ps not found").
Wed Oct 15 22:53:43 CEST 1997 Marc Lehmann (pcg@goof.com)
* toplev.c (main): Don't execute "ps" under MSDOS.
Index: toplev.c
===================================================================
RCS file: /home/cvsroot/egcs/gcc/toplev.c,v
retrieving revision 1.3
diff -u -r1.3 toplev.c
--- toplev.c 1997/10/12 12:43:58 1.3
+++ toplev.c 1997/10/15 20:52:14
@@ -4663,11 +4663,13 @@
lim - (char *) &environ);
fflush (stderr);
+#ifndef __MSDOS__
#ifdef USG
system ("ps -l 1>&2");
#else /* not USG */
system ("ps v");
#endif /* not USG */
+#endif
}
#endif /* ! OS2 && ! VMS && (! _WIN32 || CYGWIN32) */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-10-15 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-15 16:57 patch for dos-compatibility Marc Lehmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).