~ubuntu-branches/ubuntu/vivid/diffutils/vivid

« back to all changes in this revision

Viewing changes to gnulib-tests/test-langinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2010-02-13 11:49:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100213114900-09lz8jx6wct52qp8
Tags: 1:2.9-1
* New upstream release, now under GPL version 3 or later.
* There is now a --tab-size option. Closes: #82923.
* Manpage for cmp describes exit status. Closes: #200614.
* Manpage for diff describes exit status. Closes: #228441, #473233.
* The file de.po is now more recent. Closes: #313686.
* Fixed bad sdiff behaviour. Closes: #320222.
* Added wdiff to Suggests. Closes: #324627.
* Fixed cmp behaviour regarding stdout and stderr. Closes: #356083.
* The file ru.po is now more recent. Closes: #409274.
* The file es.po is now more recent. Closes: #418005, #481708.
* The file nl.po is now more recent. Closes: #427370.
* Modified watch file to use http instead of ftp.
* Removed .comment section from executables.
* Added Homepage field to control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- buffer-read-only: t -*- vi: set ro: */
 
2
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
 
3
#line 1
 
4
/* Test of <langinfo.h> substitute.
 
5
   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
6
 
 
7
   This program is free software: you can redistribute it and/or modify
 
8
   it under the terms of the GNU General Public License as published by
 
9
   the Free Software Foundation; either version 3 of the License, or
 
10
   (at your option) any later version.
 
11
 
 
12
   This program is distributed in the hope that it will be useful,
 
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
   GNU General Public License for more details.
 
16
 
 
17
   You should have received a copy of the GNU General Public License
 
18
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
19
 
 
20
/* Written by Bruno Haible <bruno@clisp.org>, 2009.  */
 
21
 
 
22
#include <config.h>
 
23
 
 
24
#include <langinfo.h>
 
25
 
 
26
/* Check that all the nl_item values are defined.  */
 
27
int items[] =
 
28
  {
 
29
    /* nl_langinfo items of the LC_CTYPE category */
 
30
    CODESET,
 
31
    /* nl_langinfo items of the LC_NUMERIC category */
 
32
    RADIXCHAR,
 
33
    THOUSEP,
 
34
    /* nl_langinfo items of the LC_TIME category */
 
35
    D_T_FMT,
 
36
    D_FMT,
 
37
    T_FMT,
 
38
    T_FMT_AMPM,
 
39
    AM_STR,
 
40
    PM_STR,
 
41
    DAY_1,
 
42
    DAY_2,
 
43
    DAY_3,
 
44
    DAY_4,
 
45
    DAY_5,
 
46
    DAY_6,
 
47
    DAY_7,
 
48
    ABDAY_1,
 
49
    ABDAY_2,
 
50
    ABDAY_3,
 
51
    ABDAY_4,
 
52
    ABDAY_5,
 
53
    ABDAY_6,
 
54
    ABDAY_7,
 
55
    MON_1,
 
56
    MON_2,
 
57
    MON_3,
 
58
    MON_4,
 
59
    MON_5,
 
60
    MON_6,
 
61
    MON_7,
 
62
    MON_8,
 
63
    MON_9,
 
64
    MON_10,
 
65
    MON_11,
 
66
    MON_12,
 
67
    ABMON_1,
 
68
    ABMON_2,
 
69
    ABMON_3,
 
70
    ABMON_4,
 
71
    ABMON_5,
 
72
    ABMON_6,
 
73
    ABMON_7,
 
74
    ABMON_8,
 
75
    ABMON_9,
 
76
    ABMON_10,
 
77
    ABMON_11,
 
78
    ABMON_12,
 
79
    ERA,
 
80
    ERA_D_FMT,
 
81
    ERA_D_T_FMT,
 
82
    ERA_T_FMT,
 
83
    ALT_DIGITS,
 
84
    /* nl_langinfo items of the LC_MONETARY category */
 
85
    CRNCYSTR,
 
86
    /* nl_langinfo items of the LC_MESSAGES category */
 
87
    YESEXPR,
 
88
    NOEXPR
 
89
  };
 
90
 
 
91
int
 
92
main (void)
 
93
{
 
94
  return 0;
 
95
}