mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17347 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e2358c5980
commit
d96f5b48c8
3 changed files with 23 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
|
||||
where type info was not available and we assumed a method returning
|
||||
an id but the actual method returned void.
|
||||
* config/procfs.m4: Test for procfs using 'mount'
|
||||
|
||||
2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSDistributedNotificationCenter.m: Partially reverted last
|
||||
|
|
|
@ -991,7 +991,21 @@ GSInvocationCallback (void *callback_data, va_alist args)
|
|||
_va_return_struct(args, info[0].size, info[0].align, retval);
|
||||
break;
|
||||
case _C_VOID:
|
||||
va_return_void(args);
|
||||
/* FIXME ... evil hack ... where the compiler did not know
|
||||
* selector types, if may have had to assume a method returning
|
||||
* an id, but the actual method may have returned void ...
|
||||
* we check for that case here, and use the fact that in the case
|
||||
* of a void return value, passing retval back as a voipd will
|
||||
* look like the method actually returned nil.
|
||||
*/
|
||||
if (typeinfo->type == __VAvoidp)
|
||||
{
|
||||
va_return_ptr(args, void *, *(void **)retval);
|
||||
}
|
||||
else
|
||||
{
|
||||
va_return_void(args);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
NSCAssert1(0, @"GSFFCallInvocation: Return Type '%s' not implemented",
|
||||
|
|
|
@ -12,7 +12,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 (grep proc /etc/fstab >/dev/null 2>/dev/null); then
|
||||
if (mount | grep 'proc' >/dev/null 2>/dev/null); then
|
||||
ac_cv_sys_procfs=yes
|
||||
# Solaris has proc, but for some reason the dir is not readable
|
||||
# elif (grep proc /etc/vfstab >/dev/null 2>/dev/null); then
|
||||
|
|
Loading…
Reference in a new issue