* nss/getent.c (print_networks): Don't print comma between aliases.

This commit is contained in:
Ulrich Drepper 2009-01-28 15:55:25 +00:00
parent 563ee1cb34
commit 1dd757696b
7 changed files with 43 additions and 53 deletions

View File

@ -1,3 +1,7 @@
2009-01-28 Ulrich Drepper <drepper@redhat.com>
* nss/getent.c (print_networks): Don't print comma between aliases.
2009-01-23 Ulrich Drepper <drepper@redhat.com> 2009-01-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning. * sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning.

View File

@ -32,11 +32,7 @@ END LC_IDENTIFICATION
%%%%%%%%%%%%% %%%%%%%%%%%%%
LC_CTYPE LC_CTYPE
copy "bn_IN" copy "bn_BD"
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE END LC_CTYPE
%%%%%%%%%%%%% %%%%%%%%%%%%%

View File

@ -37,7 +37,24 @@ copy "iso14651_t1"
END LC_COLLATE END LC_COLLATE
LC_CTYPE LC_CTYPE
copy "bn_IN" copy "i18n"
% Bengali uses the alternate digits U+09E6..U+09EF
outdigit <U09E6>..<U09EF>
% This is used in the scanf family of functions to read Bengali numbers
% using "%Id" and such.
map to_inpunct; /
(<U0030>,<U09E6>); /
(<U0031>,<U09E7>); /
(<U0032>,<U09E8>); /
(<U0033>,<U09E9>); /
(<U0034>,<U09EA>); /
(<U0035>,<U09EB>); /
(<U0036>,<U09EC>); /
(<U0037>,<U09ED>); /
(<U0038>,<U09EE>); /
(<U0039>,<U09EF>);
translit_start translit_start
include "translit_combining";"" include "translit_combining";""

View File

@ -34,28 +34,7 @@ END LC_IDENTIFICATION
LC_CTYPE LC_CTYPE
copy "i18n" copy "bn_BD"
% Bengali uses the alternate digits U+09E6..U+09EF
outdigit <U09E6>..<U09EF>
% This is used in the scanf family of functions to read Bengali numbers
% using "%Id" and such.
map to_inpunct; /
(<U0030>,<U09E6>); /
(<U0031>,<U09E7>); /
(<U0032>,<U09E8>); /
(<U0033>,<U09E9>); /
(<U0034>,<U09EA>); /
(<U0035>,<U09EB>); /
(<U0036>,<U09EC>); /
(<U0037>,<U09ED>); /
(<U0038>,<U09EE>); /
(<U0039>,<U09EF>);
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE END LC_CTYPE

View File

@ -32,7 +32,24 @@ category "hi_IN:2000";LC_TELEPHONE
END LC_IDENTIFICATION END LC_IDENTIFICATION
LC_CTYPE LC_CTYPE
copy "mr_IN" copy "i18n"
% Devanagari uses the alternate digits U+0966..U+096F
outdigit <U0966>..<U096F>
% This is used in the scanf family of functions to read devanagari numbers
% using "%Id" and such.
map to_inpunct; /
(<U0030>,<U0966>); /
(<U0031>,<U0967>); /
(<U0032>,<U0968>); /
(<U0033>,<U0969>); /
(<U0034>,<U096A>); /
(<U0035>,<U096B>); /
(<U0036>,<U096C>); /
(<U0037>,<U096D>); /
(<U0038>,<U096E>); /
(<U0039>,<U096F>);
translit_start translit_start
include "translit_combining";"" include "translit_combining";""

View File

@ -32,28 +32,7 @@ category "mr_IN:2000";LC_TELEPHONE
END LC_IDENTIFICATION END LC_IDENTIFICATION
LC_CTYPE LC_CTYPE
copy "i18n" copy "hi_IN"
% Devanagari uses the alternate digits U+0966..U+096F
outdigit <U0966>..<U096F>
% This is used in the scanf family of functions to read devanagari numbers
% using "%Id" and such.
map to_inpunct; /
(<U0030>,<U0966>); /
(<U0031>,<U0967>); /
(<U0032>,<U0968>); /
(<U0033>,<U0969>); /
(<U0034>,<U096A>); /
(<U0035>,<U096B>); /
(<U0036>,<U096C>); /
(<U0037>,<U096D>); /
(<U0038>,<U096E>); /
(<U0039>,<U096F>);
translit_start
include "translit_combining";""
translit_end
END LC_CTYPE END LC_CTYPE
LC_COLLATE LC_COLLATE

View File

@ -448,8 +448,6 @@ print_networks (struct netent *net)
putchar_unlocked (' '); putchar_unlocked (' ');
fputs_unlocked (net->n_aliases[i], stdout); fputs_unlocked (net->n_aliases[i], stdout);
++i; ++i;
if (net->n_aliases[i] != NULL)
putchar_unlocked (',');
} }
putchar_unlocked ('\n'); putchar_unlocked ('\n');
} }