summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 00:07:52 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-17 00:07:52 +0000
commit83f7d932d481994761162fb454f9465c9f68ecba (patch)
tree8d02f6dcebedca7b57f0d0a875e4db2a1b06e237 /apps
parentd3014951bb8bffaf8b2fc0618c691ef13608c794 (diff)
downloadATCD-83f7d932d481994761162fb454f9465c9f68ecba.tar.gz
Fixed the key_word table generation so that it generates the "default
fill" string for the null entries in the table. Thanks to Irfan and Naga for helping in this.
Diffstat (limited to 'apps')
-rw-r--r--apps/gperf/src/Key_List.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp
index a2d8e06a256..7f4e10c7514 100644
--- a/apps/gperf/src/Key_List.cpp
+++ b/apps/gperf/src/Key_List.cpp
@@ -807,7 +807,7 @@ Key_List::output_keyword_table (void)
for (column = 1; slot < head->hash_value; column++)
{
- ACE_OS::printf ("%s\"\"%s,%s %s",
+ ACE_OS::printf ("%s\"\",%s%s%s",
l_brace,
option.fill_default (),
r_brace,
@@ -831,7 +831,11 @@ Key_List::output_keyword_table (void)
ACE_OS::printf (" ");
for (column = 1; slot < temp->hash_value; slot++, column++)
- ACE_OS::printf ("%s\"\",%s %s", l_brace, r_brace, column % 9 ? "" : "\n ");
+ ACE_OS::printf ("%s\"\",%s%s%s",
+ l_brace,
+ option.fill_default (),
+ r_brace,
+ column % 9 ? "" : "\n ");
if (column % 10)
ACE_OS::printf ("\n");