GNU bug report logs -
#8254
race condition in dired.c's scmp function
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Tue, 15 Mar 2011 06:17:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 8254 <at> debbugs.gnu.org (full text, mbox):
On 03/15/2011 03:50 AM, Eli Zaretskii wrote:
> I wonder if there's a better solution even if we decide to
> make these macros functions
We could move these macros to a new include file, and have it
be included only by .c files that need the macros. That would
be easy to do; the only real cost is that of having another
include file to worry about.
> I don't like to have the same static function in every file that
> includes buffer.h, on platforms that don't support inline functions.
These days, it's routine for compilers to inline. For
old fashioned compilers that don't inline, it's routine to optimize
away static functions that are never used. So, from an optimization
viewpoint, this problem is relatively unimportant.
This bug report was last modified 14 years and 72 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.