Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: printf and variable length string format (asterisk) Message-ID: <6754@brl-smoke.ARPA> Date: Sat, 28-Nov-87 06:39:17 EST Article-I.D.: brl-smok.6754 Posted: Sat Nov 28 06:39:17 1987 Date-Received: Mon, 30-Nov-87 03:28:19 EST References: <692@zycad.UUCP> <1987Nov27.024339.12253@sq.uucp> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <1987Nov27.024339.12253@sq.uucp> msb@sq.UUCP (Mark Brader) writes: -... But thinking about the above example, and what you'd have to do, -does make me wonder whether the Committee really considered this point -before deciding to restrict all forms of %s to "strings". They might have -decided that C was so strongly oriented to null-terminated strings that -anyone who wants to use data structures like a is doing so at their own -risk; or it might just have slipped by. You there, Doug? Hi. I think the idea was that X3J11 wanted to allow the implementation to be able to snarf up the argument with strcpy() etc. and this required insisting that it be a properly-formed string. However, I might misremember.