From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sun, 20 Apr 2003 14:03:30 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 104 ************************************************** Saturday 19 April 2003 Number 104 ************************************************** Subjects for today 1 Compiling Duke3D : IanM" 2 Re: Compiling Duke3D : IanM" 3 Re: Compiling Duke3D : IanM" 4 Re: eFDS-1.TXT : Yuri Dario" 5 Re: AF_UNIX sockets : Dave and Natalie" **= Email 1 ==========================** Date: Sun, 20 Apr 2003 00:56:34 +1000 (EST) From: "IanM" Subject: Compiling Duke3D Hi I'm getting these errors game.c(7316): Error! E1011: Symbol 'O_RDONLY' has not been declared game.c(7316): Error! E1011: Symbol 'S_IREAD' has not been declared Does anyone know the OS/2 equivalents for these two symbols ? Cheers IanM http://www.os2site.com/ Notice in health food shop window: CLOSED DUE TO ILLNESS **= Email 2 ==========================** Date: Sun, 20 Apr 2003 04:22:05 +1000 (EST) From: "IanM" Subject: Re: Compiling Duke3D Hi Henry > They're both in the emx headers: O_RDONLY in fcntl.h and S_IREAD in > sys/stat.h. And I'm using the wrong h's :-( Fixed, and continuing to work my way through it. I'm a bit worried though as the source is dated 1st April 2003 ! Cheers IanM http://www.os2site.com/ Bug-free environment; please do not use Windows. **= Email 3 ==========================** Date: Sun, 20 Apr 2003 04:23:08 +1000 (EST) From: "IanM" Subject: Re: Compiling Duke3D Hi John > Do you hae a URL for the source? http://www.fileshack.com/file.x?fid=2585 http://www.os2site.com/sw/incoming/ Cheers IanM http://www.os2site.com/ 16. User Error: Replace user. **= Email 4 ==========================** Date: Sun, 20 Apr 2003 10:34:03 +0200 (CDT) From: "Yuri Dario" Subject: Re: eFDS-1.TXT Hi Nick, >>Perhaps, but as mentioned, things that look for things like TMPDIR may be >>*expecting* to have forward slashes there. If you intentionally break that for no >I hear you...for now I'm going to remove TMPDIR from eFDS-1 and from the >config.sys in eCS. Won't happen until eCS v2. here my TMPDIR is using backslashes, and I never got troubles: all C/C++ runtimes are able to handle mixed slashes in path names. BTW all this discussion applies also to 'plain' OS/2, since we can't think to support two different enviroments (OS/2 and ECS). Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.quasarbbs.net/yuri * http://www.teamos2.it * http://www.opera.com/os2/ */ **= Email 5 ==========================** Date: Sun, 20 Apr 2003 11:46:52 -0800 From: "Dave and Natalie" Subject: Re: AF_UNIX sockets On Sat, 19 Apr 2003 09:42:50 +0100, John Poltorak wrote: >On Sat, Apr 19, 2003 at 08:53:28AM +0200, Yuri Dario wrote: >> Hi John, >> >> >Any ideas on how I can delete some AF_OS2 sockets? I have a system which >> >seems to have a accumulated quite a few and I can't get rid of them. >> >SOCLOSE only works on AF_INET sockets. >> >> since they are the same thing, they should close in the same way. > > >SOCLOSE requires a socket number but AF_OS2 sockets are identified by a >name. If I use the name it errors with 'invalid socket number'. I have >had around 70 of the sockets open for around a week and can't get rid of >them. Have you tried SOCLOSE on the higher AF_INET socket numbers that are of type DGRAM? eg 2120 DGRAM 0 0 0.0.0.0 UDP Dave