This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question on sparc SHMLBA helper function


> It just seems to be a very poor way to detect an error return value.

Ok, that's what I kind of thought, but it looked so strange I could't
really tell.

Perhaps you can verify the safety of a change like that and then do it?

> All the INTERNAL_SYSCALL_ERROR_P bits should take care of things these
> days, and then the only return value we have to check for from
> INTERNAL_SYSCALL is "-1".

Seems cleaner to use INTERNAL_SYSCALL* directly.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]