Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!harvard!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.sources.bugs Subject: Re: problem with scanf and sccs conflict in phantasia func0.c Message-ID: <218@rlgvax.UUCP> Date: Fri, 26-Oct-84 03:08:28 EDT Article-I.D.: rlgvax.218 Posted: Fri Oct 26 03:08:28 1984 Date-Received: Sat, 27-Oct-84 04:31:34 EDT References: <193@cybvax0.UUCP> Distribution: net Organization: CCI Office Systems Group, Reston, VA Lines: 18 > For those of you that place sources under sccs control, note that > in a scanf string in func0.c (there is only one which causes a problem) > that contains the following: > > %F%F%F%F%F%.... > > Note that sccs will expand the %F% into something undesireable! Also note that %D in "printf" and "scanf" will also confuse SCCS. Furthermore, it will greatly upset the System III/System V version of "printf", which says "%X" means "hex with capital A-F" and *only* allows the "l" prefix to indicate a long argument. Moral: Don't use %D or %F. %ld and %lf will do just as well, and won't break SCCS or fail on USDL systems. Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy