From mboxrd@z Thu Jan 1 00:00:00 1970 From: imp@bsdimp.com (Warner Losh) Date: Thu, 24 Jan 2013 19:06:03 -0700 Subject: [TUHS] History of strncpy In-Reply-To: References: <1301231756.AA27240@ivan.Harhan.ORG> <20130123214651.GF22559@mercury.ccil.org> <20130124060205.GQ24498@bitmover.com> <1AFADE66-7F72-4776-8738-EC27748DAF33@ronnatalie.com> <74E8EAAB-FC12-49BE-9B1A-CE991DFDA39D@ronnatalie.com> Message-ID: On Jan 24, 2013, at 11:31 AM, Tom Ivar Helbekkmo wrote: > Ronald Natalie writes: > >> Ah yes, VAX C. You're right about that one. It had a completing >> different internal implementation of the FILE struct. While I >> supervised a team of VAX VMS programmers, that's one of the platforms >> I never dabbled in directly. > > I ported C-TeX to VAX/VMS many years ago, and got a huge performance > increase when I swapped the built-in FILE interface to RMS stream files > for one I wrote myself, which explicitly did block I/O on RMS binary > files instead. That was a fun project. :) TeX was one of the programs I was thinking of. GNU Emacs was another... I ported about a dozen different unix programs back in the day, and had to put lots of different hacks in... The C FILE interface definitely was somewhat suboptimal... Warner