mirror of https://gitee.com/openkylin/glibc.git
LC_IDENTIFICATION-optional-fields.diff
From: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Date: Fri, 11 Nov 2022 23:32:07 +0800 Subject: LC_IDENTIFICATION-optional-fields
This commit is contained in:
parent
7155df664b
commit
064770fe32
|
@ -144,6 +144,9 @@ No definition for %s category found"), "LC_IDENTIFICATION");
|
|||
#cat); \
|
||||
identification->cat = ""; \
|
||||
}
|
||||
#define TEST_ELEM_OPT(cat) \
|
||||
if (identification->cat == NULL) \
|
||||
identification->cat = ""; \
|
||||
|
||||
TEST_ELEM (title);
|
||||
TEST_ELEM (source);
|
||||
|
@ -154,9 +157,9 @@ No definition for %s category found"), "LC_IDENTIFICATION");
|
|||
TEST_ELEM (fax);
|
||||
TEST_ELEM (language);
|
||||
TEST_ELEM (territory);
|
||||
TEST_ELEM (audience);
|
||||
TEST_ELEM (application);
|
||||
TEST_ELEM (abbreviation);
|
||||
TEST_ELEM_OPT (audience);
|
||||
TEST_ELEM_OPT (application);
|
||||
TEST_ELEM_OPT (abbreviation);
|
||||
TEST_ELEM (revision);
|
||||
TEST_ELEM (date);
|
||||
|
||||
|
|
Loading…
Reference in New Issue