home *** CD-ROM | disk | FTP | other *** search
- From jonas.gold.sub.org Thu, 04 Mar 93 20:59:23 MET
- Path: jonas!gold.sub.org!imutm1.de.intel.com!news
- Newsgroups: gold.lists.emx-list
- Distribution: gold
- Return-Path: <MailingList.Server@ludd.luth.se>
- Date: Thu, 4 Mar 1993 12:13:55 +0100
- Message-Id: <9303041019.AA00740@azu.informatik.uni-stuttgart.de>
- Reply-To: emx-list@ludd.luth.se
- Sender: emx-list@ludd.luth.se
- From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
- Subject: emx 0.8f patch #9: GDB, redirection
- X-Gated: imutm1 Mail/News Gateway
- Lines: 28
-
- A typo in emxchild.c causes redirection (set arg <file) not to work
- correctly. Here's a patch for \emx\gnu\emxchild.c and
- \emx\gnu\gdb-4.7\emxchild.c:
-
- *** emxchild.c~ Tue Mar 02 21:27:24 1993
- --- emxchild.c Tue Mar 02 21:27:24 1993
- ***************
- *** 125,131 ****
- if (handle < 0)
- perror_with_name (handle_name[i]);
- handle_child[i] = handle;
- ! if (handle & O_APPEND)
- lseek (handle, 0L, SEEK_END);
- }
- for (i = 0; i < NHANDLES; ++i)
- --- 125,131 ----
- if (handle < 0)
- perror_with_name (handle_name[i]);
- handle_child[i] = handle;
- ! if (handle_mode[i] & O_APPEND)
- lseek (handle, 0L, SEEK_END);
- }
- for (i = 0; i < NHANDLES; ++i)
-
- Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
-
- To unsubscribe, send "unsubscribe emx-list" to listserv@ludd.luth.se
- ^^^^^^^^
-
-