DragonFly bugs List (threaded) for 2005-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Okay, so what do we do with the new errno?
After today's update I started to recompile all of my ports again
(yes, I was well aware that I must) but the first port I tried
(bash) died because of this line in psize.c:
extern int errno;
and this obviously conflicts with the definition in /usr/include/errno.h
extern __thread int errno;
So -- what kind of patching does bash need? The bash port might be a
useful place to explain how this is going to work. I see that errno.h
includes a message about ports that want to define errno as a normal
'int' but the provided workaround doesn't seem to work:
#define errno errno
Is that really the intended definition, or a typo?
Thanks for any clues.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]