summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-11-07 11:48:53 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-11-07 11:49:17 -0500
commitd747a45b46139eb78c060e1f3c3ee4d3dc72db12 (patch)
tree48169025049eca58804c37b167ef6a982c812882 /src/backend/utils/adt/network.c
parentb07b2bdc570cfbb39564c8a70783dbce1edcb3d6 (diff)
Fix assorted bugs in contrib/unaccent's configuration file parsing.
Make it use t_isspace() to identify whitespace, rather than relying on sscanf which is known to get it wrong on some platform/locale combinations. Get rid of fixed-size buffers. Make it actually continue to parse the file after ignoring a line with untranslatable characters, as was obviously intended. The first of these issues is per gripe from J Smith, though not exactly either of his proposed patches.
Diffstat (limited to 'src/backend/utils/adt/network.c')
0 files changed, 0 insertions, 0 deletions