mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
backport bugfixes from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@26827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c6d085e3ae
commit
c3b02a9a43
4 changed files with 7275 additions and 7036 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
||||||
|
2008-08-25 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSAutoreleasePool.m (-dealloc): Reset _parent and _child.
|
||||||
|
* Source/NSAutoreleasePool.m (-_endThread:): Free cache of ended
|
||||||
|
thread not of current.
|
||||||
|
|
||||||
|
2008-08-20 Yavor Doganov <yavor@gnu.org>
|
||||||
|
|
||||||
|
* config/procfs.m4: Check for `proc' in /proc/mounts rather than
|
||||||
|
relying on the output of `mount'; fixes build issue in chroots.
|
||||||
|
Reported by Funda Wang (bug #23876).
|
||||||
|
|
||||||
2008-07-17 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-07-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSCategories.m: littleEndian() fix to work on
|
* Source/Additions/GSCategories.m: littleEndian() fix to work on
|
||||||
|
|
|
@ -340,7 +340,9 @@ static IMP initImp;
|
||||||
if (_parent != nil)
|
if (_parent != nil)
|
||||||
{
|
{
|
||||||
_parent->_child = nil;
|
_parent->_child = nil;
|
||||||
|
_parent = nil;
|
||||||
}
|
}
|
||||||
|
_child = nil;
|
||||||
|
|
||||||
/* Don't deallocate ourself, just save us for later use. */
|
/* Don't deallocate ourself, just save us for later use. */
|
||||||
push_pool_to_cache (tv, self);
|
push_pool_to_cache (tv, self);
|
||||||
|
@ -455,7 +457,7 @@ static IMP initImp;
|
||||||
struct autorelease_thread_vars *tv;
|
struct autorelease_thread_vars *tv;
|
||||||
id pool;
|
id pool;
|
||||||
|
|
||||||
tv = ARP_THREAD_VARS;
|
tv = &(((TInfo)thread)->_autorelease_vars);
|
||||||
while (tv->current_pool)
|
while (tv->current_pool)
|
||||||
{
|
{
|
||||||
[tv->current_pool release];
|
[tv->current_pool release];
|
||||||
|
|
|
@ -18,7 +18,7 @@ AC_DEFUN(AC_SYS_PROCFS,
|
||||||
# if test -d /proc/0; then
|
# if test -d /proc/0; then
|
||||||
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
||||||
# works fine
|
# works fine
|
||||||
if (mount | grep 'proc' >/dev/null 2>/dev/null); then
|
if grep 'proc' /proc/mounts >/dev/null 2>/dev/null; then
|
||||||
ac_cv_sys_procfs=yes
|
ac_cv_sys_procfs=yes
|
||||||
else
|
else
|
||||||
ac_cv_sys_procfs=no
|
ac_cv_sys_procfs=no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue