Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.UUCP (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: Pascal --> C question Message-ID: <2422@bsu-cs.UUCP> Date: 20 Mar 88 16:19:07 GMT References: <302@goofy.megatest.UUCP> <225800014@uxe.cso.uiuc.edu> <7490@brl-smoke.ARPA> Reply-To: dhesi@bsu-cs.UUCP (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 38 Summary: Edification of compiler writers In article <7490@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >Assuming VMS C really does what the fellow said (which I doubt), >it's a bug regardless of VMS's ideas about record-oriented files. For the edification of all compiler writers, a log of a batch run under VAX/VMS follows. $! Batch run of "feature.c" $ set default [.scr] $ type feature.c /* A "Hello world" program in three movements */ #include main() { printf("He"); fflush(stdout); printf("llo"); fflush(stdout); printf(" wor"); fflush(stdout); printf("ld"); fflush(stdout); printf("\n"); } $ cc feature.c $ link feature $ run feature He llo wor ld $ exit 00R0DHESI job terminated at 20-MAR-1988 11:07:48.01 Accounting information: Buffered I/O count: 123 Peak working set size: 1732 Direct I/O count: 214 Peak page file size: 2163 Page faults: 3506 Mounted volumes: 0 Charged CPU time: 0 00:00:21.68 Elapsed time: 0 00:01:12.68 -- Rahul Dhesi UUCP: !{iuvax,pur-ee,uunet}!bsu-cs!dhesi