[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] strftime merge from Emacs

From: Dave Love
Subject: Re: [Bug-gnulib] strftime merge from Emacs
Date: Thu, 05 Jun 2003 17:03:17 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Paul Eggert <address@hidden> writes:

> That's its style, but I have serious doubts that Emacs still works
> with K&R C.

It at least builds and basically runs.

> Here's one example: emacs's regex.c contains a macro that
> looks like this:
> #define PUSH_FAILURE_POINT(pattern, string_place)                     \
> ...                                                                     \
>   DEBUG_PRINT2 ("  Push pattern %p: ", pattern);                      \
> ...
> and K&R C will substitute both instances of "pattern", even the one
> inside the string.

That's only relevant when debugging isn't it?

> There are other examples of code in Emacs that won't work with K&R.

rms has been considering those as bugs.

> But since nobody really uses K&R any more
> (except perhaps in computer museums), this is not really a practical
> issue now.

I thought that HPUX came with only K&R and that people actually relied
on that, but I don't know the current state of play.  I also thought a
surprising number of people still ran sunos4 (which is what I've
tested builds on, though that box may go soon).

Anyhow, I'll ask the question about K&R again.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]