Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site arizona.UUCP Path: utzoo!linus!decvax!harpo!utah-cs!arizona!budd From: budd@arizona.UUCP Newsgroups: net.bugs.4bsd Subject: yet another 4.2 bug Message-ID: <6620@arizona.UUCP> Date: Tue, 6-Dec-83 09:09:14 EST Article-I.D.: arizona.6620 Posted: Tue Dec 6 09:09:14 1983 Date-Received: Fri, 9-Dec-83 02:25:33 EST Organization: CS Dept, U of Arizona, Tucson Lines: 19 Here is another 4.2 bogosity (this is what I've pieced together. The lawyers still have our 4.2 tape!!). The ``bib'' bibliographic database software, written here by myself and gary levin, is on the 4.2 distribution tape. (This is a replacement for refer, was posted to the net several months ago). Immediately before 4.2 was set in stone, the people at berkeley asked for the latest version. I got the copy they had, which had been berkeletised, and compared the updates they had made to the improvements I had made and took the best of both worlds and made a new version. Now here comes the tricky part. The berkeley people use SCCS, I don't. There were several %D formats in the source which the berkeley people changed to %ld, however I didn't take note of this in making my updates, and apparently It wasn't caught when I shipped the source back to berkeley. (Also, they seem to have re-berkeletised it, putting back in the features I had taken out of their earlier version). Here's the bug: There are two %D%D formats in scanf's in the file invert.c. The sccs system uses %D% as a keyword, replacing it with the current date. This, of course, messes everything up.