From rswindell@VERT to CVS commit on Sat Jan 19 16:25:00 2019
src/sbbs3 js_file.c 1.176 1.177 js_global.c 1.376 1.377 jsexec.c 1.202 1.203 sbbs.h 1.499 1.500
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv17125
Modified Files:
js_file.c js_global.c jsexec.c sbbs.h
Log Message:
The "stdio" File objects (stdin, stdout, stderr) did not work on Windows, because the stdout FILE* is a different address in jsexec than it is in sbbs.dll
(where the actual File I/O operations occurred). Refactored by passing the stdio file descriptor (and open mode) to js_CreateFileObject rather than the FILE* and using fdopen() to get a FILE* associated with the descriptor. stdout.write() now works, for example.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Guest
Sun Feb 4 08:14:51 2024
from
Shell
via
Raw
Guest
Tue Feb 13 03:59:35 2024
from
Shell
via
Raw
Pengo
Sat Feb 17 04:28:41 2024
from
Moscow, Russia
via
Telnet
Hayden
Sat Mar 9 12:14:03 2024
from
Netherlands
via
Telnet