clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 352ed15 was 35e7499, checked in by Jonathan Norman <jon@…>, 13 years ago |
Merged with Cosmo-branch, renamed / rediffed patches as required and fixed download links
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[35e7499] | 1 | Submitted By: Jonathan Norman (jonathan at bluesquarelinux dot co dot uk)
|
---|
| 2 | Date: 2012-02-26
|
---|
| 3 | Initial Package Version: 2.15 r16526
|
---|
[7d97f36] | 4 | Origin: Andreas Schwab
|
---|
| 5 | Via http://sourceware.org/ml/libc-hacker/2011-02/msg00002.html
|
---|
| 6 | Upstream Status: Unknown, In Bugzilla
|
---|
| 7 | Description: If a ELF binaries dependencies are missing it was causing
|
---|
| 8 | a signal too early.
|
---|
[35e7499] | 9 | Rediffed by Jonathan Norman for Eglibc 2.15
|
---|
[7d97f36] | 10 |
|
---|
[35e7499] | 11 |
|
---|
| 12 | diff -Naur eglibc-2.15.orig/elf/dl-deps.c eglibc-2.15/elf/dl-deps.c
|
---|
| 13 | --- eglibc-2.15.orig/elf/dl-deps.c 2012-02-26 17:15:55.394189832 +0000
|
---|
| 14 | +++ eglibc-2.15/elf/dl-deps.c 2012-02-26 17:21:48.882756229 +0000
|
---|
| 15 | @@ -502,6 +502,10 @@
|
---|
[7d97f36] | 16 | if (errno == 0 && errno_saved != 0)
|
---|
| 17 | __set_errno (errno_saved);
|
---|
| 18 |
|
---|
| 19 | + if (errno_reason)
|
---|
| 20 | + _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
|
---|
[35e7499] | 21 | + NULL, errstring);
|
---|
[7d97f36] | 22 | +
|
---|
| 23 | struct link_map **old_l_initfini = NULL;
|
---|
| 24 | if (map->l_initfini != NULL && map->l_type == lt_loaded)
|
---|
| 25 | {
|
---|
[35e7499] | 26 | @@ -699,7 +703,4 @@
|
---|
[7d97f36] | 27 | if (old_l_initfini != NULL)
|
---|
[35e7499] | 28 | map->l_orig_initfini = old_l_initfini;
|
---|
| 29 |
|
---|
[7d97f36] | 30 | - if (errno_reason)
|
---|
| 31 | - _dl_signal_error (errno_reason == -1 ? 0 : errno_reason, objname,
|
---|
| 32 | - NULL, errstring);
|
---|
| 33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.