[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] compiling inetutils on AIX 51
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-inetutils] compiling inetutils on AIX 51 |
Date: |
Thu, 24 Apr 2003 16:39:30 +0300 |
Hi Thomas,
> On AIX, using xlC, a cast is not an lvalue. I'm not sure, but I
> always thought that standard ANSI behaviour.
I don't have the standard at hand, but I guess you're right. This has
to be fixed.
> 2) in telnetd/telnetd.h, you use the macro P for parameter lists.
Moreover, some headers use P(), others use __P(). The use of the
declaration wrappers has to be standartized throughout the
package.
> 3) we don't seem to have error.h on AIX, so as a quick workaround I
> put a static fake error (..) function into xmalloc.c.
Yes, this has recently been fixed in the repository.
> 4) AIX has setenv(), but not unsetenv ().
[...]
> That way, I can use the setenv() function from the C-Runtime and the
> unsetenv function from libinetutils/setenv.c.
Well, the AIX setenv might use another approach than the included
one, then unsetenv could either malfunction or coredump. I
believe in such case it is safer to provide *both* setenv and
unsetenv, overriding the one from the libc.
Thank you for the suggestions.
Regards,
Sergey