2004-02-10 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 10 Feb 2004 16:43:58 +0000 (16:43 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 10 Feb 2004 16:43:58 +0000 (16:43 +0000)
* Makefile.in (init.c): Fix script removing duplicates. Problem
reported by Peter Schauer.

gdb/ChangeLog
gdb/Makefile.in

index a605e618345b5675ee059d8582f26ece7104a6d2..fc6961febfa467b414196cb2b72f0dec6f9c4495 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-10  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in (init.c): Fix script removing duplicates. Problem
+       reported by Peter Schauer.
+
 2004-02-09  Elena Zannoni  <ezannoni@redhat.com>
 
        * bcache.c (bcache_xmalloc): Use obstack_init instead of
index 9861f2bab8fec9874384f626c0b802ce176610ff..17bcb037cb26d5251c2bda5e901247e85fbd2055 100644 (file)
@@ -1055,9 +1055,9 @@ init.c: $(INIT_FILES)
            sed -n -e 's/^_initialize_\([a-z_0-9A-Z]*\).*/\1/p' $$f 2>/dev/null; \
        done | \
        while read f; do \
-           case "$$fs" in \
-               "* $$f *") ;; \
-               *) echo $$f ; fs="$$fs $$f ";; \
+           case " $$fs " in \
+               *" $$f "* ) ;; \
+               * ) echo $$f ; fs="$$fs $$f";; \
             esac; \
        done >> init.l-tmp
        @echo '/* Do not modify this file.  */' >>init.c-tmp
This page took 0.043709 seconds and 4 git commands to generate.