Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site bunker.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!dcdwest!ittvax!bunker!reno From: reno@bunker.UUCP (Jim Reno) Newsgroups: net.unix-wizards Subject: Re: Re: 4.2 sprintf too painful? Message-ID: <712@bunker.UUCP> Date: Fri, 8-Feb-85 09:27:31 EST Article-I.D.: bunker.712 Posted: Fri Feb 8 09:27:31 1985 Date-Received: Mon, 11-Feb-85 03:54:38 EST References: <247441a5.1de6@apollo.uucp> <2497ee9f.1de6@apollo.uucp> <428@rlgvax.UUCP> Organization: Bunker Ramo, Trumbull Ct Lines: 10 > Another pointer along those lines: > > Don't use %D, %O, %X, and the like. Use %ld, %lo, %lx instead. Another case to watch out for here: I got caught on a piece of code that looked something like: printf("...%D%s..."...); which intended, of course, to print out a value immediately followed by a string. Unfortunately the source was being controlled by SCCS, which turned the %D% into a date...