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:
Richard Frith-MacDonald 2008-09-01 19:13:23 +00:00
parent c6d085e3ae
commit c3b02a9a43
4 changed files with 7275 additions and 7036 deletions

View file

@ -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>
* Source/Additions/GSCategories.m: littleEndian() fix to work on

View file

@ -340,7 +340,9 @@ static IMP initImp;
if (_parent != nil)
{
_parent->_child = nil;
_parent = nil;
}
_child = nil;
/* Don't deallocate ourself, just save us for later use. */
push_pool_to_cache (tv, self);
@ -455,7 +457,7 @@ static IMP initImp;
struct autorelease_thread_vars *tv;
id pool;
tv = ARP_THREAD_VARS;
tv = &(((TInfo)thread)->_autorelease_vars);
while (tv->current_pool)
{
[tv->current_pool release];

View file

@ -18,7 +18,7 @@ AC_DEFUN(AC_SYS_PROCFS,
# if test -d /proc/0; then
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
# 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
else
ac_cv_sys_procfs=no

14293
configure vendored

File diff suppressed because it is too large Load diff