Path: utzoo!attcan!uunet!wuarchive!udel!mmdf From: archer%segin4.segin.fr@relay.prime.com (Vincent Archer) Newsgroups: comp.os.minix Subject: Bug in C68II - a new one Message-ID: <27942@nigel.ee.udel.edu> Date: 20 Aug 90 15:13:47 GMT Sender: mmdf@ee.udel.edu Lines: 32 Here's both a bug report in C68II, and its fix (less work for you CvW :-) Try compiling & executing the 5-line program: main() { printf("Is that good?\ \no, wait, were's the newline?\n"); } You'll get: Is that good?no, wait, were's the newline? The fix is pretty simple: In getsym.c:getsch(), at line 257, you have: case '\n': getch(); <=== the line 257 return getsch(); Simply delete the offending line, and you've got it all. For a \-newline, getch() (get next character) was called thrice; obviously one more time than necessary to wipe out the backslash and the newline character. That's why the first character of the next line was not taken into account... Let's call this patch2. Now, if you really need a cdif... :-) Vincent Vincent Archer | Email:archer%segin4.segin.fr@relay.prime.com "People that are good at finding excuses are never good at anything else"