[Python-checkins] python/dist/src/Modules _cursesmodule.c,2.61.6.2,2.61.6.3 _hotshot.c,1.11.6.3,1.11.6.4
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Mon, 30 Sep 2002 09:16:16 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv1683/Modules
Modified Files:
Tag: release22-maint
_cursesmodule.c _hotshot.c
Log Message:
Patch #615069: Fix build problems on SCO Open Server 5.
Index: _cursesmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_cursesmodule.c,v
retrieving revision 2.61.6.2
retrieving revision 2.61.6.3
diff -C2 -d -r2.61.6.2 -r2.61.6.3
*** _cursesmodule.c 17 Mar 2002 19:02:10 -0000 2.61.6.2
--- _cursesmodule.c 30 Sep 2002 16:16:13 -0000 2.61.6.3
***************
*** 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.11.6.3
retrieving revision 1.11.6.4
diff -C2 -d -r1.11.6.3 -r1.11.6.4
*** _hotshot.c 29 May 2002 18:44:30 -0000 1.11.6.3
--- _hotshot.c 30 Sep 2002 16:16:13 -0000 1.11.6.4
***************
*** 56,59 ****
--- 56,61 ----
# 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"