home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!alberta!frep
- From: frep@cs.UAlberta.CA (Geoff Baskwill)
- Subject: Program cores on redirection
- Message-ID: <frep.726870145@manning>
- Sender: news@cs.UAlberta.CA (News Administrator)
- Nntp-Posting-Host: manning.cs.ualberta.ca
- Organization: University of Alberta, Edmonton, Canada
- Date: Tue, 12 Jan 1993 20:22:25 GMT
- Lines: 11
-
- I am having a problem with a Pascal program I have written, obviously, and I was
- wondering if anybody has any ideas as to why it should die in this particular manner:
-
- Whenever I try to redirect the input with < or >, for some reason it core dumps on
- me with a seg fault message. If I pipe to the program, like "cat bob.txt | prog" it
- won't die, but if I go "cat bob.txt | prog > results" -- ACK! It dies. I'm using
- standard readln and writeln, what's going on?
-
- Any ideas?
-
- Geoff.
-