Re: [patch] printf "%p" gdb internal error fix

Eli Zaretskii
2007-09-15T18:12:36Z

> Date: Sat, 15 Sep 2007 12:12:20 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sourceware.org
>
> > > May I suggest we reference a particular C or POSIX standard if we
> > > are going to list exceptions?
> >
> > Fine with me, but I'm not aware of the C99 document that is freely
> > accessible on the net. If you have a URL, by all means let's @uref
> > it.
>
> I don't believe there is one, but this is a well-known and published
> international standard. Can't we reference the printed version?

We can, if we have the exact title and other details.

> What I was trying to say was that our printf is an implementation of
> the C89 printf function, not the C99 or Single Unix printf; that's why
> it has all the missing features you noticed - in fact it has none of
> the C99 additions.

Well, we do have L and ll, so it's no longer true that we don't
support any of C99. (Admittedly, they were implemented when they were
GNU extensions, but today's readers of the manual do not need to know
this piece of history.)

> Can't we describe it as a mostly complete C89 printf instead of a
> mostly incomplete C99 printf?

I don't think it's right to ask our readers to be familiar with the
history of the C standards. That is why I didn't even mention C99 (or
any other standard).