A set of basic GNU tools commonly used in shell scripts
f4a53e34d0
The coreutils-i18n-expand-unexpand.patch adds 3 definitions of the mbfile_multi_getc function. 2 of the definitions are marked with the inline keyword, which means that there must also be an externally visible definition. The 3rd definition is marked extern inline, which statisfies this requirement. However, the 3rd definition is defined in mbfile.c which is not compiled or linked in to any executable. This causes build failures if the compiler decides not to inline the function (which it is allowed to do) e.g. src/expand.c:153: undefined reference to `mbfile_multi_getc' clang does not inline this function, but gcc does which is why you will not see this failure when compiling with gcc. However, gcc could choose not to inline this, so even though the build succeeds, it is depending on an implementation detail of gcc rather than the C specification. In order to fix this problem, mbfile.c was added to the list of sources for any executable that uses mbfile_multi_getc. |
||
---|---|---|
tests | ||
.gitignore | ||
coreutils-4.5.3-langinfo.patch | ||
coreutils-8.2-uname-processortype.patch | ||
coreutils-8.4-mkdir-modenote.patch | ||
coreutils-8.26-selinuxenable.patch | ||
coreutils-8.26-test-lock.patch | ||
coreutils-8.32-DIR_COLORS.patch | ||
coreutils-8.32-if-lint.patch | ||
coreutils-8.32-ls-removed-dir.patch | ||
coreutils-8.32.tar.xz.sig | ||
coreutils-colorls.csh | ||
coreutils-colorls.sh | ||
coreutils-df-direct.patch | ||
coreutils-getgrouplist.patch | ||
coreutils-i18n-cut-old.patch | ||
coreutils-i18n-expand-unexpand.patch | ||
coreutils-i18n-fix2-expand-unexpand.patch | ||
coreutils-i18n-fix-unexpand.patch | ||
coreutils-i18n-fold-newline.patch | ||
coreutils-i18n-sort-human.patch | ||
coreutils-i18n-un-expand-BOM.patch | ||
coreutils-i18n.patch | ||
coreutils-provides.inc | ||
coreutils-selinux.patch | ||
coreutils.spec | ||
rh_i18n_wip.tar.gz | ||
sh-utils-2.0.11-dateman.patch | ||
sources | ||
STAGE1-coreutils | ||
supported_utils | ||
upstream-key.gpg |