home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / archive / emx / patches / patch09 < prev    next >
Encoding:
Internet Message Format  |  1993-03-04  |  1.5 KB

  1. From jonas.gold.sub.org Thu, 04 Mar 93 20:59:23 MET
  2. Path: jonas!gold.sub.org!imutm1.de.intel.com!news
  3. Newsgroups: gold.lists.emx-list
  4. Distribution: gold
  5. Return-Path: <MailingList.Server@ludd.luth.se>
  6. Date: Thu, 4 Mar 1993 12:13:55 +0100
  7. Message-Id: <9303041019.AA00740@azu.informatik.uni-stuttgart.de>
  8. Reply-To: emx-list@ludd.luth.se
  9. Sender: emx-list@ludd.luth.se
  10. From: Eberhard Mattes <mattes@azu.informatik.uni-stuttgart.de>
  11. Subject: emx 0.8f patch #9: GDB, redirection
  12. X-Gated: imutm1 Mail/News Gateway
  13. Lines: 28
  14.  
  15. A typo in emxchild.c causes redirection (set arg <file) not to work
  16. correctly.  Here's a patch for \emx\gnu\emxchild.c and
  17. \emx\gnu\gdb-4.7\emxchild.c:
  18.  
  19. *** emxchild.c~    Tue Mar 02 21:27:24 1993
  20. --- emxchild.c    Tue Mar 02 21:27:24 1993
  21. ***************
  22. *** 125,131 ****
  23.           if (handle < 0)
  24.             perror_with_name (handle_name[i]);
  25.           handle_child[i] = handle;
  26. !         if (handle & O_APPEND)
  27.             lseek (handle, 0L, SEEK_END);
  28.         }
  29.     for (i = 0; i < NHANDLES; ++i)
  30. --- 125,131 ----
  31.           if (handle < 0)
  32.             perror_with_name (handle_name[i]);
  33.           handle_child[i] = handle;
  34. !         if (handle_mode[i] & O_APPEND)
  35.             lseek (handle, 0L, SEEK_END);
  36.         }
  37.     for (i = 0; i < NHANDLES; ++i)
  38.  
  39. Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
  40.  
  41. To unsubscribe, send "unsubscribe emx-list" to listserv@ludd.luth.se
  42.                                                ^^^^^^^^
  43.  
  44.