GNU bug report logs -
#17157
[PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP"
Previous Next
Reported by: Paolo Bonzini <bonzini <at> gnu.org>
Date: Tue, 1 Apr 2014 09:19:03 UTC
Severity: normal
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 17157 <at> debbugs.gnu.org (full text, mbox):
Il 01/04/2014 11:33, arnold <at> skeeve.com ha scritto:
> Please don't revert this change. dfa.c is *shared* code, and there's no
> reason for gawk to put stuff needed ONLY by dfa.c into its config.h
> file. (Gawk doesn't have a system.h - most of that stuff is in awk.h
> at the momment. The rest is in custom.h which is used to override defaults
> from configure, and not for portability.)
>
> I understand that grep doesn't need it, but dfa serves more than
> one master. I appreciate the grep team's accommodating gawk's needs.
Then we should add a separate header for this purpose.
One thing is serving more than one master and having the occasional
#ifndef GREP, another thing is doing things twice in grep (via gnulib
and explicitly in dfa.c).
setlocale, static_assert etc. should be in a dfacompat.h file that is
not shared between grep and gawk and could also include the #define for
GREP and GAWK symbols.
Paolo
This bug report was last modified 11 years and 75 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.