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.
5
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.
12#
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.
16gnulib:
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  crypt/md5.c
31  crypt/md5.h
32  dirent/alphasort.c
33  dirent/scandir.c
34  # Merged from gnulib 2021-09-21
35  include/intprops.h
36  # Merged from gnulib 2021-09-21
37  include/regex.h
38  locale/programs/3level.h
39  # Merged from gnulib 2014-6-23
40  malloc/obstack.c
41  # Merged from gnulib 2014-6-23
42  malloc/obstack.h
43  # Merged from gnulib 2014-07-10
44  misc/error.c
45  misc/error.h
46  misc/getpass.c
47  misc/mkdtemp.c
48  # Merged from gnulib 2021-09-21
49  misc/sys/cdefs.h
50  posix/fnmatch_loop.c
51  # Intended to be the same. Gnulib copy contains glibc changes.
52  posix/getopt.c
53  # Intended to be the same. Gnulib copy contains glibc changes.
54  posix/getopt1.c
55  # Intended to be the same. Gnulib copy contains glibc changes.
56  posix/getopt_int.h
57  posix/glob.c
58  # Merged from gnulib 2021-09-21
59  posix/regcomp.c
60  # Merged from gnulib 2021-09-21
61  posix/regex.c
62  # Merged from gnulib 2021-09-21
63  posix/regex.h
64  # Merged from gnulib 2021-09-21
65  posix/regex_internal.c
66  # Merged from gnulib 2021-09-21
67  posix/regex_internal.h
68  # Merged from gnulib 2021-09-21
69  posix/regexec.c
70  posix/spawn.c
71  posix/spawn_faction_addclose.c
72  posix/spawn_faction_adddup2.c
73  posix/spawn_faction_addopen.c
74  posix/spawn_faction_destroy.c
75  posix/spawn_faction_init.c
76  posix/spawn_int.h
77  posix/spawnattr_destroy.c
78  posix/spawnattr_getdefault.c
79  posix/spawnattr_getflags.c
80  posix/spawnattr_getpgroup.c
81  posix/spawnattr_getschedparam.c
82  posix/spawnattr_getschedpolicy.c
83  posix/spawnattr_getsigmask.c
84  posix/spawnattr_init.c
85  posix/spawnattr_setdefault.c
86  posix/spawnattr_setflags.c
87  posix/spawnattr_setpgroup.c
88  posix/spawnattr_setschedparam.c
89  posix/spawnattr_setschedpolicy.c
90  posix/spawnattr_setsigmask.c
91  posix/spawnp.c
92  stdlib/atoll.c
93  stdlib/getsubopt.c
94  stdlib/setenv.c
95  stdlib/strtoll.c
96  stdlib/strtoul.c
97  # Merged from gnulib 2014-6-26, needs merge back
98  string/memchr.c
99  string/memcmp.c
100  string/memmem.c
101  string/mempcpy.c
102  string/memrchr.c
103  string/rawmemchr.c
104  string/stpcpy.c
105  string/stpncpy.c
106  string/str-two-way.h
107  string/strcasestr.c
108  string/strcspn.c
109  string/strdup.c
110  string/strndup.c
111  string/strpbrk.c
112  string/strsignal.c
113  string/strstr.c
114  string/strtok_r.c
115  string/strverscmp.c
116  sysdeps/generic/pty-private.h
117  sysdeps/generic/siglist.h
118  sysdeps/posix/euidaccess.c
119  sysdeps/posix/gai_strerror.c
120  sysdeps/posix/getcwd.c
121  sysdeps/posix/pwrite.c
122  sysdeps/posix/spawni.c
123  # Merged from gnulib 2014-6-23
124  sysdeps/posix/tempname.c
125  # Merged from gnulib 2014-6-27
126  time/mktime.c
127  time/mktime-internal.h
128  time/strptime.c
129  time/timegm.c
130
131# The last merge was 2014-12-11 and merged gettext 0.19.3 into glibc with a
132# patch submitted to the gettext mailing list for changes that could be merged
133# back.
134#
135# This commit was omitted from the merge as it does not appear to be compatible
136# with how glibc expects things to work:
137#
138# commit 279b57fc367251666f00e8e2b599b83703451afb
139# Author: Bruno Haible <bruno@clisp.org>
140# Date:   Fri Jun 14 12:03:49 2002 +0000
141#
142#     Make absolute pathnames inside $LANGUAGE work.
143gettext:
144  intl/bindtextdom.c
145  intl/dcgettext.c
146  intl/dcigettext.c
147  intl/dcngettext.c
148  intl/dgettext.c
149  intl/dngettext.c
150  intl/explodename.c
151  intl/finddomain.c
152  intl/gettext.c
153  intl/gettextP.h
154  intl/gmo.h
155  intl/hash-string.c
156  intl/hash-string.h
157  intl/l10nflist.c
158  intl/loadinfo.h
159  intl/loadmsgcat.c
160  intl/locale.alias
161  intl/localealias.c
162  intl/ngettext.c
163  intl/plural-exp.c
164  intl/plural-exp.h
165  intl/plural.y
166  intl/textdomain.c
167
168# The following files are shared with the upstream Unicode project and must be
169# updated regularly to stay in sync with the upstream unicode releases.
170#
171# Merged from Unicode 13.0.0 release.
172unicode:
173  localedata/unicode-gen/UnicodeData.txt
174  localedata/unicode-gen/unicode-license.txt
175  localedata/unicode-gen/DerivedCoreProperties.txt
176  localedata/unicode-gen/EastAsianWidth.txt
177  localedata/unicode-gen/PropList.txt
178
179# The following files are shared with the upstream tzcode project and must be
180# updated regularly to stay in sync with the upstream releases.
181#
182# Update from tzcode 2017b.
183# Latest is 2018g:
184#   https://mm.icann.org/pipermail/tz-announce/2018-October/000052.html
185tzcode:
186  timezone/private.h
187  timezone/tzfile.h
188  timezone/zdump.c
189  timezone/zic.c
190  timezone/tzselect.ksh
191
192# The following files are shared with the upstream tzdata project but is not
193# synchronized regularly. The data files themselves are used only for testing
194# purposes and their data is never used to generate any output. We synchronize
195# them only to stay on top of newer data that might help with testing.
196#
197# Currently synced to 2009i.  Latest is 2018g.
198# https://mm.icann.org/pipermail/tz-announce/2018-October/000052.html
199tzdata:
200  timezone/africa
201  timezone/antarctica
202  timezone/asia
203  timezone/australasia
204  timezone/europe
205  timezone/northamerica
206  timezone/southamerica
207  timezone/pacificnew
208  timezone/etcetera
209  timezone/factory
210  timezone/backward
211  timezone/systemv
212  timezone/solar87
213  timezone/solar88
214  timezone/solar89
215  timezone/iso3166.tab
216  timezone/zone.tab
217  timezone/leapseconds
218  # This is yearistype.sh in the parent project
219  timezone/yearistype
220