[Python-checkins] python/dist/src/Modules _cursesmodule.c,2.66,2.67 _hotshot.c,1.29,1.30
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Mon, 30 Sep 2002 09:19:51 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv4213/Modules
Modified Files:
_cursesmodule.c _hotshot.c
Log Message:
Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.
Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.66
retrieving revision 2.67
diff -C2 -d -r2.66 -r2.67
*** _cursesmodule.c 2 Aug 2002 02:27:13 -0000 2.66
--- _cursesmodule.c 30 Sep 2002 16:19:48 -0000 2.67
***************
*** 125,129 ****
#endif
! #if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun))
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
typedef chtype attr_t; /* No attr_t type is available */
--- 125,129 ----
#endif
! #if !defined(HAVE_NCURSES_H) && (defined(sgi) || defined(__sun) || defined(SCO5))
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
typedef chtype attr_t; /* No attr_t type is available */
Index: _hotshot.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_hotshot.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** _hotshot.c 19 Sep 2002 08:03:20 -0000 1.29
--- _hotshot.c 30 Sep 2002 16:19:48 -0000 1.30
***************
*** 65,68 ****
--- 65,70 ----
# ifdef MAX_PATH
# define PATH_MAX MAX_PATH
+ # elif defined (_POSIX_PATH_MAX)
+ # define PATH_MAX _POSIX_PATH_MAX
# else
# error "Need a defn. for PATH_MAX in _hotshot.c"