Add a test to check for duplicate definitions in the static library
[glibc.git] / SHARED-FILES
blob179130d5672cc9ec682f49193832bd8cc23ace79
1 # Files shared with other projects.  Pass a file path to the
2 # get_glibc_shared_code() function in the python library
3 # scripts/glibc_shared_code.py to get a dict object with this information.  See
4 # the library sources for more information.
6 # The headers on most of these files indicate that glibc is the canonical
7 # source for these files, although in many cases there seem to be useful
8 # changes in the gnulib versions that could be merged back in. Not all gnulib
9 # files contain such a header and it is not always consistent in its format, so
10 # it would be useful to make sure that all gnulib files that are using glibc as
11 # upstream have a greppable header.
13 # These files are quite hard to find without a header to grep for and each file
14 # has to be compared manually so this list is likely incomplete or may contain
15 # errors.
16 gnulib:
17   argp/argp-ba.c
18   argp/argp-ba.c
19   argp/argp-eexst.c
20   argp/argp-fmtstream.c
21   argp/argp-fmtstream.h
22   argp/argp-fs-xinl.c
23   argp/argp-help.c
24   argp/argp-namefrob.h
25   argp/argp-parse.c
26   argp/argp-pv.c
27   argp/argp-pvh.c
28   argp/argp-xinl.c
29   argp/argp.h
30   dirent/alphasort.c
31   dirent/scandir.c
32   # Merged from gnulib 2021-09-21
33   include/intprops.h
34   # Merged from gnulib 2021-09-21
35   include/regex.h
36   locale/programs/3level.h
37   # Merged from gnulib 2014-6-23
38   malloc/obstack.c
39   # Merged from gnulib 2014-6-23
40   malloc/obstack.h
41   # Merged from gnulib 2014-07-10
42   misc/error.c
43   misc/error.h
44   misc/getpass.c
45   misc/mkdtemp.c
46   # Merged from gnulib 2021-09-21
47   misc/sys/cdefs.h
48   posix/fnmatch_loop.c
49   # Intended to be the same. Gnulib copy contains glibc changes.
50   posix/getopt.c
51   # Intended to be the same. Gnulib copy contains glibc changes.
52   posix/getopt1.c
53   # Intended to be the same. Gnulib copy contains glibc changes.
54   posix/getopt_int.h
55   posix/glob.c
56   # Merged from gnulib 2021-09-21
57   posix/regcomp.c
58   # Merged from gnulib 2021-09-21
59   posix/regex.c
60   # Merged from gnulib 2021-09-21
61   posix/regex.h
62   # Merged from gnulib 2021-09-21
63   posix/regex_internal.c
64   # Merged from gnulib 2021-09-21
65   posix/regex_internal.h
66   # Merged from gnulib 2021-09-21
67   posix/regexec.c
68   posix/spawn.c
69   posix/spawn_faction_addclose.c
70   posix/spawn_faction_adddup2.c
71   posix/spawn_faction_addopen.c
72   posix/spawn_faction_destroy.c
73   posix/spawn_faction_init.c
74   posix/spawn_int.h
75   posix/spawnattr_destroy.c
76   posix/spawnattr_getdefault.c
77   posix/spawnattr_getflags.c
78   posix/spawnattr_getpgroup.c
79   posix/spawnattr_getschedparam.c
80   posix/spawnattr_getschedpolicy.c
81   posix/spawnattr_getsigmask.c
82   posix/spawnattr_init.c
83   posix/spawnattr_setdefault.c
84   posix/spawnattr_setflags.c
85   posix/spawnattr_setpgroup.c
86   posix/spawnattr_setschedparam.c
87   posix/spawnattr_setschedpolicy.c
88   posix/spawnattr_setsigmask.c
89   posix/spawnp.c
90   stdlib/atoll.c
91   stdlib/getsubopt.c
92   stdlib/setenv.c
93   stdlib/strtoll.c
94   stdlib/strtoul.c
95   # Merged from gnulib 2014-6-26, needs merge back
96   string/memchr.c
97   string/memcmp.c
98   string/memmem.c
99   string/mempcpy.c
100   string/memrchr.c
101   string/rawmemchr.c
102   string/stpcpy.c
103   string/stpncpy.c
104   string/str-two-way.h
105   string/strcasestr.c
106   string/strcspn.c
107   string/strdup.c
108   string/strndup.c
109   string/strpbrk.c
110   string/strsignal.c
111   string/strstr.c
112   string/strtok_r.c
113   string/strverscmp.c
114   # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
115   stdio-common/tmpdir.c
116   stdio-common/tmpdir.h
117   sysdeps/generic/pty-private.h
118   sysdeps/generic/siglist.h
119   sysdeps/posix/euidaccess.c
120   sysdeps/posix/gai_strerror.c
121   sysdeps/posix/getcwd.c
122   sysdeps/posix/pwrite.c
123   sysdeps/posix/spawni.c
124   # Merged from gnulib 2024-04-08 (gnulib commit 3238349628)
125   sysdeps/posix/tempname.c
126   # Merged from gnulib 2014-6-27
127   time/mktime.c
128   time/mktime-internal.h
129   time/strptime.c
130   time/timegm.c
132 # The last merge was 2014-12-11 and merged gettext 0.19.3 into glibc with a
133 # patch submitted to the gettext mailing list for changes that could be merged
134 # back.
136 # This commit was omitted from the merge as it does not appear to be compatible
137 # with how glibc expects things to work:
139 # commit 279b57fc367251666f00e8e2b599b83703451afb
140 # Author: Bruno Haible <bruno@clisp.org>
141 # Date:   Fri Jun 14 12:03:49 2002 +0000
143 #     Make absolute pathnames inside $LANGUAGE work.
144 gettext:
145   intl/bindtextdom.c
146   intl/dcgettext.c
147   intl/dcigettext.c
148   intl/dcngettext.c
149   intl/dgettext.c
150   intl/dngettext.c
151   intl/explodename.c
152   intl/finddomain.c
153   intl/gettext.c
154   intl/gettextP.h
155   intl/gmo.h
156   intl/hash-string.c
157   intl/hash-string.h
158   intl/l10nflist.c
159   intl/loadinfo.h
160   intl/loadmsgcat.c
161   intl/locale.alias
162   intl/localealias.c
163   intl/ngettext.c
164   intl/plural-exp.c
165   intl/plural-exp.h
166   intl/plural.y
167   intl/textdomain.c
169 # The following files are shared with the upstream Unicode project and must be
170 # updated regularly to stay in sync with the upstream unicode releases.
172 # Merged from Unicode 15.1.0 release.
173 unicode:
174   localedata/unicode-gen/UnicodeData.txt
175   localedata/unicode-gen/unicode-license.txt
176   localedata/unicode-gen/DerivedCoreProperties.txt
177   localedata/unicode-gen/EastAsianWidth.txt
178   localedata/unicode-gen/PropList.txt
180 # The following files are shared with the upstream tzcode project and must be
181 # updated regularly to stay in sync with the upstream releases.
183 # Currently synced to TZDB 2024a, announced and distributed here:
184 #       https://mm.icann.org/pipermail/tz-announce/2024-February/000081.html
185 #       https://data.iana.org/time-zones/releases/tzdb-2024a.tar.lz
186 tzcode:
187   timezone/private.h
188   timezone/tzfile.h
189   timezone/tzselect.ksh
190   timezone/version
191   timezone/zdump.c
192   timezone/zic.c
194 # The following files are shared with the upstream tzdata project but is not
195 # synchronized regularly. The data files themselves are used only for testing
196 # purposes and their data is never used to generate any output. We synchronize
197 # them only to stay on top of newer data that might help with testing.
199 # Currently synced to tzcode 2009i, announced and distributed here:
200 #       https://mm.icann.org/pipermail/tz/2009-June/040697.html
201 #       https://data.iana.org/time-zones/releases/tzdata2009i.tar.gz
202 tzdata:
203   timezone/africa
204   timezone/antarctica
205   timezone/asia
206   timezone/australasia
207   timezone/europe
208   timezone/northamerica
209   timezone/southamerica
210   timezone/pacificnew
211   timezone/etcetera
212   timezone/factory
213   timezone/backward
214   timezone/systemv
215   timezone/solar87
216   timezone/solar88
217   timezone/solar89
218   timezone/iso3166.tab
219   timezone/zone.tab
220   timezone/leapseconds
221   # This is yearistype.sh in the parent project
222   timezone/yearistype