[Patches] [ python-Patches-806800 ] NetBSD py_curses.h fix

SourceForge.net noreply at sourceforge.net
Thu Sep 18 14:33:40 EDT 2003


Patches item #806800, was opened at 2003-09-15 22:47
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=806800&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Marc Recht (marc)
Assigned to: Nobody/Anonymous (nobody)
Summary: NetBSD py_curses.h fix

Initial Comment:
On NetBSD, [n]curses.h and stdlib.h/wchar.h use

different guards

against multiple definition of wchar_t and wint_t.



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-18 20:33

Message:
Logged In: YES 
user_id=21627

That is a work around a NetBSD bug, right? If so, there

should be some procedure to retest presence of the bug in

new NetBSD releases, and record the versions for which the

bug has been found to be present. Then, when the newest

release with the bug is not supported in Python anymore, the

code can be removed (which might well be 10 years from now).



If possible, a code fragment like



#if (NetBSD_major == 3) or (NetBSD_major==4)

// bug present, add work-around

#else

#error Please check whether the bug is still present

#endif



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=806800&group_id=5470



More information about the Patches mailing list