From a6c51a1680fe3a362a5d162adcc8308c3e03347a Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sun, 10 Aug 2003 21:33:53 +0000 Subject: [PATCH] Bumped version number to 6.23 ODSpawn.c still needs more *nix support. --- src/odoors/GNUmakefile | 3 ++- src/odoors/ODAuto.c | 1 + src/odoors/ODBlock.c | 1 + src/odoors/ODCFile.c | 1 + src/odoors/ODCmdLn.c | 1 + src/odoors/ODCom.c | 1 + src/odoors/ODCore.c | 1 + src/odoors/ODDrBox.c | 1 + src/odoors/ODEdStr.c | 1 + src/odoors/ODEdit.c | 1 + src/odoors/ODEmu.c | 1 + src/odoors/ODFrame.c | 1 + src/odoors/ODGetIn.c | 1 + src/odoors/ODGraph.c | 1 + src/odoors/ODInEx1.c | 1 + src/odoors/ODInEx2.c | 1 + src/odoors/ODInQue.c | 1 + src/odoors/ODKrnl.c | 1 + src/odoors/ODList.c | 1 + src/odoors/ODLog.c | 1 + src/odoors/ODMulti.c | 1 + src/odoors/ODOORS62.TXT | 11 +++++++++-- src/odoors/ODPCB.c | 1 + src/odoors/ODPlat.c | 1 + src/odoors/ODPopup.c | 1 + src/odoors/ODPrntf.c | 1 + src/odoors/ODRA.c | 1 + src/odoors/ODScrn.c | 1 + src/odoors/ODSpawn.c | 5 +++++ src/odoors/ODStand.c | 1 + src/odoors/ODStat.c | 1 + src/odoors/ODUtil.c | 1 + src/odoors/ODWCat.c | 1 + src/odoors/ODWin.c | 1 + src/odoors/ex_ski.c | 2 +- 35 files changed, 48 insertions(+), 4 deletions(-) diff --git a/src/odoors/GNUmakefile b/src/odoors/GNUmakefile index 9378fea388..4adb6da4cb 100644 --- a/src/odoors/GNUmakefile +++ b/src/odoors/GNUmakefile @@ -1,4 +1,4 @@ -# OpenDoors 6.30 +# OpenDoors 6.23 # (C} Copyright 1991 - 1997 by Brian Pirie. All Rights Reserved. # # Oct-2001 door32.sys/socket modifications by Rob Swindell (www.synchro.net} @@ -146,6 +146,7 @@ OBJECTS := ${OBJDIR}ODAuto${OBJFILE}\ ${LIBDIR}ODoors62${SHLIB} : ${OBJECTS} gcc -shared -o ${LIBDIR}libODoors${SHLIB}.6.2 ${OBJECTS} + ln -s ${LIBDIR}libODoors${SHLIB}.6.2 ${LIBDIR}ODoors62${SHLIB} ${LIBDIR}ODoors62${STATICLIB} : ${OBJECTS} ar -r ${LIBDIR}libODoors${STATICLIB} ${OBJECTS} diff --git a/src/odoors/ODAuto.c b/src/odoors/ODAuto.c index 649ed153ad..a674a66906 100644 --- a/src/odoors/ODAuto.c +++ b/src/odoors/ODAuto.c @@ -33,6 +33,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODBlock.c b/src/odoors/ODBlock.c index 32bfd6b8a6..9f01e6d0e1 100644 --- a/src/odoors/ODBlock.c +++ b/src/odoors/ODBlock.c @@ -32,6 +32,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODCFile.c b/src/odoors/ODCFile.c index 919e210419..ad14f3cb11 100644 --- a/src/odoors/ODCFile.c +++ b/src/odoors/ODCFile.c @@ -33,6 +33,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODCmdLn.c b/src/odoors/ODCmdLn.c index ddbf0830a9..76b3862e3a 100644 --- a/src/odoors/ODCmdLn.c +++ b/src/odoors/ODCmdLn.c @@ -41,6 +41,7 @@ * Mar 03, 1996 6.10 BP Begin version 6.10. * Apr 08, 1996 6.10 BP Added command-line parsing callbacks. * Apr 24, 2002 6.22 RS Added -SOCKET parameter. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODCom.c b/src/odoors/ODCom.c index fb549a821e..fd76c5035b 100644 --- a/src/odoors/ODCom.c +++ b/src/odoors/ODCom.c @@ -50,6 +50,7 @@ * Aug 22, 2002 6.22 RS Fixed bugs in ODComCarrier and ODComWaitEvent * Aug 22, 2002 6.22 MD Modified socket functions for non-blocking use. * Sep 18, 2002 6.22 MD Fixed bugs in ODComWaitEvent for non-blocking sockets. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODCore.c b/src/odoors/ODCore.c index 0d481dfcdd..39e61eaa21 100644 --- a/src/odoors/ODCore.c +++ b/src/odoors/ODCore.c @@ -67,6 +67,7 @@ * Sep 01, 1996 6.10 BP Update output area on od_set_per...(). * Oct 19, 2001 6.20 RS od_get_key now ignores linefeeds. * Mar 14, 2002 6.22 RS Fixed od_get_key(bWait=FALSE) + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODDrBox.c b/src/odoors/ODDrBox.c index da7a0ad841..5b3e225cd7 100644 --- a/src/odoors/ODDrBox.c +++ b/src/odoors/ODDrBox.c @@ -30,6 +30,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODEdStr.c b/src/odoors/ODEdStr.c index f3065d11a5..d9f0f9dbf7 100644 --- a/src/odoors/ODEdStr.c +++ b/src/odoors/ODEdStr.c @@ -41,6 +41,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Apr 08, 1996 6.10 BP Make 'C' use word capitalization. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODEdit.c b/src/odoors/ODEdit.c index c6ed511586..dcd5b02df2 100644 --- a/src/odoors/ODEdit.c +++ b/src/odoors/ODEdit.c @@ -42,6 +42,7 @@ * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. * Jun 08, 1996 6.10 BP Added cast in call to alloc function. * Oct 19, 2001 6.20 RS Eliminated MSVC 6.0 warning. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODEmu.c b/src/odoors/ODEmu.c index 5d6ddc048e..b45abb0dc0 100644 --- a/src/odoors/ODEmu.c +++ b/src/odoors/ODEmu.c @@ -44,6 +44,7 @@ * Mar 06, 1996 6.10 BP Prevent TC generated N_LXMUL@ call. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. * Oct 18, 2001 6.11 MD Added od_send_file_section() + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODFrame.c b/src/odoors/ODFrame.c index fb82bfe596..4a978571a6 100644 --- a/src/odoors/ODFrame.c +++ b/src/odoors/ODFrame.c @@ -39,6 +39,7 @@ * Feb 23, 1996 6.00 BP Properly update when toolbar turned on * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 14, 1996 6.10 BP Added configuration menu option. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODGetIn.c b/src/odoors/ODGetIn.c index 78cfd47f50..2af72f808f 100644 --- a/src/odoors/ODGetIn.c +++ b/src/odoors/ODGetIn.c @@ -35,6 +35,7 @@ * Feb 25, 1996 6.00 BP Added new control sequences to table. * Feb 27, 1996 6.00 BP Added od_max_key_latency. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODGraph.c b/src/odoors/ODGraph.c index be01354fe8..6d251c39dd 100644 --- a/src/odoors/ODGraph.c +++ b/src/odoors/ODGraph.c @@ -34,6 +34,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 13, 1996 6.10 BP Added od_get_cursor(). + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODInEx1.c b/src/odoors/ODInEx1.c index 4140740087..a8d7abe219 100644 --- a/src/odoors/ODInEx1.c +++ b/src/odoors/ODInEx1.c @@ -74,6 +74,7 @@ * Apr 08, 1996 6.10 BP Store local login name in user_handle. * Jan 13, 1997 6.10 BP Fixes for Door32 support. * Oct 19, 2001 6.20 RS Added door32.sys and socket support. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODInEx2.c b/src/odoors/ODInEx2.c index 7f5fce26e8..2a1ac137e1 100644 --- a/src/odoors/ODInEx2.c +++ b/src/odoors/ODInEx2.c @@ -60,6 +60,7 @@ * Mar 27, 1996 6.10 BP Added WCNODEID to * Jan 13, 1997 6.10 BP Fixes for Door32 support. * Oct 19, 2001 6.20 RS Added TCP/IP socket (telnet) support. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODInQue.c b/src/odoors/ODInQue.c index f000142ad2..a2c0a7d40c 100644 --- a/src/odoors/ODInQue.c +++ b/src/odoors/ODInQue.c @@ -32,6 +32,7 @@ * Jan 30, 1996 6.00 BP Add ODInQueueGetNextEvent() timeout. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODKrnl.c b/src/odoors/ODKrnl.c index 72c9ab382e..c16bf98a45 100644 --- a/src/odoors/ODKrnl.c +++ b/src/odoors/ODKrnl.c @@ -59,6 +59,7 @@ * Mar 13, 1996 6.10 BP bOnlyShiftArrow -> nArrowUseCount. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. * Oct 22, 2001 6.21 RS Lowered thread priorities to normal. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODList.c b/src/odoors/ODList.c index 4ae9e11517..ae60dacb7e 100644 --- a/src/odoors/ODList.c +++ b/src/odoors/ODList.c @@ -35,6 +35,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODLog.c b/src/odoors/ODLog.c index 92580dc538..348089e604 100644 --- a/src/odoors/ODLog.c +++ b/src/odoors/ODLog.c @@ -29,6 +29,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODMulti.c b/src/odoors/ODMulti.c index f2682470a1..f2b244fdb3 100644 --- a/src/odoors/ODMulti.c +++ b/src/odoors/ODMulti.c @@ -36,6 +36,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Sep 01, 1996 6.10 BP Update output area on od_set_per...(). + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODOORS62.TXT b/src/odoors/ODOORS62.TXT index e5d22a8e53..4cc62b0caa 100644 --- a/src/odoors/ODOORS62.TXT +++ b/src/odoors/ODOORS62.TXT @@ -1,7 +1,11 @@ ************************************************************************** -* OpenDoors v6.22 C/C++ Door Development Kit for DOS and Win32 Platforms * +* OpenDoors v6.23 C/C++ Door Development Kit for DOS and Win32 Platforms * ************************************************************************** +August 10, 2003 + +*nix (using StdIO only) update to Brian Pirie's OpenDoors Library + August 22, 2002 Door32.sys and Socket update to Brian Pirie's OpenDoors Library @@ -85,4 +89,7 @@ Added support for non-blocking sockets (e.g. EleBBS) - thanks to GSValore. Added support for the "-SOCKET" command-line option to specify the socket descriptor on the command-line. -/* End of ODOORS62.TXT */ \ No newline at end of file +v6.23 changes: +*nix support using stdio + +/* End of ODOORS62.TXT */ diff --git a/src/odoors/ODPCB.c b/src/odoors/ODPCB.c index d02150588b..85cc550eb9 100644 --- a/src/odoors/ODPCB.c +++ b/src/odoors/ODPCB.c @@ -33,6 +33,7 @@ * Jan 03, 1996 6.00 BP Display connect speed with %lu. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODPlat.c b/src/odoors/ODPlat.c index c910f335c5..6c02734299 100644 --- a/src/odoors/ODPlat.c +++ b/src/odoors/ODPlat.c @@ -46,6 +46,7 @@ * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 06, 1996 6.10 BP Prevent TC calls N_LXMUL@ & N_LXDIV@. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODPopup.c b/src/odoors/ODPopup.c index e81b53db1a..29d495c7b6 100644 --- a/src/odoors/ODPopup.c +++ b/src/odoors/ODPopup.c @@ -45,6 +45,7 @@ * Feb 13, 1996 6.00 BP Added od_get_input() flags parameter. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODPrntf.c b/src/odoors/ODPrntf.c index 2e38561bea..a1c6d67b4d 100644 --- a/src/odoors/ODPrntf.c +++ b/src/odoors/ODPrntf.c @@ -33,6 +33,7 @@ * Jan 04, 1996 6.00 BP Add missing OD_API_EXIT() at end. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODRA.c b/src/odoors/ODRA.c index 1dd8d2e5e8..be2f3fcffd 100644 --- a/src/odoors/ODRA.c +++ b/src/odoors/ODRA.c @@ -36,6 +36,7 @@ * Jan 03, 1996 6.00 BP Display connect speed with %lu. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODScrn.c b/src/odoors/ODScrn.c index 3e12c7e97a..712ebd9991 100644 --- a/src/odoors/ODScrn.c +++ b/src/odoors/ODScrn.c @@ -54,6 +54,7 @@ * Mar 13, 1996 6.10 BP Added od_local_win_col. * Mar 17, 1996 6.10 BP Terminate string in ODScrnLocalInput() * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODSpawn.c b/src/odoors/ODSpawn.c index a82c4997d2..05dc7872f5 100644 --- a/src/odoors/ODSpawn.c +++ b/src/odoors/ODSpawn.c @@ -43,6 +43,7 @@ * Feb 27, 1996 6.00 BP Store screen info in our own struct. * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support - some functions not supported (Yet) */ #define BUILDING_OPENDOORS @@ -216,6 +217,10 @@ ODAPIDEF BOOL ODCALL od_spawn(char *pszCommandLine) /* Now, call od_spawnvpe(). */ return(od_spawnvpe(P_WAIT, *apszArgs, apszArgs, NULL) != -1); #endif /* ODPLAT_WIN32 */ + +#ifdef ODPLAT_NIX + return(system(pszCommandLine)==-1); +#endif } diff --git a/src/odoors/ODStand.c b/src/odoors/ODStand.c index b631b68ea6..d2282af936 100644 --- a/src/odoors/ODStand.c +++ b/src/odoors/ODStand.c @@ -32,6 +32,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODStat.c b/src/odoors/ODStat.c index 0063382557..027c64cfe1 100644 --- a/src/odoors/ODStat.c +++ b/src/odoors/ODStat.c @@ -33,6 +33,7 @@ * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 13, 1996 6.10 BP bOnlyShiftArrow -> nArrowUseCount. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODUtil.c b/src/odoors/ODUtil.c index e6561ce785..def257bae0 100644 --- a/src/odoors/ODUtil.c +++ b/src/odoors/ODUtil.c @@ -35,6 +35,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 06, 1996 6.10 BP Added ODDWordMultiply(). + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODWCat.c b/src/odoors/ODWCat.c index de79091204..f6ea356688 100644 --- a/src/odoors/ODWCat.c +++ b/src/odoors/ODWCat.c @@ -34,6 +34,7 @@ * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. * Mar 19, 1996 6.10 BP MSVC15 source-level compatibility. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ODWin.c b/src/odoors/ODWin.c index 923cff3458..1ebaff37a7 100644 --- a/src/odoors/ODWin.c +++ b/src/odoors/ODWin.c @@ -33,6 +33,7 @@ * Dec 30, 1995 6.00 BP Added ODCALL for calling convention. * Feb 19, 1996 6.00 BP Changed version number to 6.00. * Mar 03, 1996 6.10 BP Begin version 6.10. + * Aug 10, 2003 6.23 SH *nix support */ #define BUILDING_OPENDOORS diff --git a/src/odoors/ex_ski.c b/src/odoors/ex_ski.c index c20fddec2c..25123f95db 100644 --- a/src/odoors/ex_ski.c +++ b/src/odoors/ex_ski.c @@ -18,7 +18,7 @@ /* Header file for the OpenDoors API */ -#include "opendoor.h" +#include "OpenDoor.h" /* Other required C header files */ #include <string.h> -- GitLab