Opened 17 years ago
Closed 17 years ago
#2401 closed defect (fixed)
PHP Mapscript: Output buffering broken on win32
Reported by: | project10 | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 5.0.1 release |
Component: | MapScript-PHP | Version: | 4.10 |
Severity: | normal | Keywords: | mapscript php ms_IoGetStdoutBufferBytes |
Cc: |
Description (last modified by )
The ms_IoGetStdoutBufferBytes() function returns the error message "Can't identify msIO buffer" under win32 PHP mapscript through ms4w.
[19:04] <FrankW> I think I see a problem. [19:05] <FrankW> The php mapscript version passes stdout but if the php thing is built in a distinct DLL from the main mapserver stuff it may have a distinct stdout. [19:07] <FrankW> In mapserver/mapscript/php/php_mapscript.c change the line: [19:07] <FrankW> msIOContext *ctx = msIO_getHandler( stdout ); [19:07] <FrankW> to: [19:07] <FrankW> msIOContext *ctx = msIO_getHandler( "stdout" );
Change History (2)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Keywords: | ms_IoGetStdoutBufferBytes added; outputbuffering removed |
Milestone: | → 5.0.1 release |
Status: | new → assigned |
Version: | unspecified → 4.10 |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk (r7045) and 5.0 branch (r7046).