Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!ucbcad!ucbvax!RED.RUTGERS.EDU!AWalker From: AWalker@RED.RUTGERS.EDU.UUCP Newsgroups: comp.os.vms Subject: C RTL [again?] Message-ID: <12308535119.47.AWALKER@RED.RUTGERS.EDU> Date: Sun, 7-Jun-87 04:02:47 EDT Article-I.D.: RED.12308535119.47.AWALKER Posted: Sun Jun 7 04:02:47 1987 Date-Received: Sun, 7-Jun-87 20:00:24 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 16 Did I miss it back whenever, or is there really a bug in VAXCRTL that silently limits the size of a read() to 65535 bytes? I found this the hard way, while porting unix "ispell" to vms -- down there in the dirty stuff called by read(), at _child_open+0b9 there's a "movzwl" that trashes the high half of the "int nbytes" argument you fed it. *Why*?!?! There is no mention of any limitation in the vax C book [but then again, it's the vax C book]. This is Vax-11 C v2.1 [I should probably have a later one, I know] and the image header of vaxcrtl contains the string "VAXCRTL ... V04-005" [if that helps]. I did finally work around the various limitations and have a version of "ispell" that works under vms, if anyone wants it. _H* -------