)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"9616cbdf31f0bc2663ae87e4b05f94864fc70d08","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"7a074de0_26660ad5","updated":"2026-07-06 14:27:11.000000000","message":"It works fine for me on Linux.\nBefore extending it to other connections (if needed) I would really like to have some feedback by Windows users.\nThe code could be simplified since I don\u0027t think we need to check the return error from `command_stdinout_set_fd()` and `command_stdinout_restore()`.","commit_id":"e5d95700adfcb07579dc5038a08663c298d691bc"}],"src/helper/command.c":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"9275f5b6a289e911757f3b4ad4545ee5dd993d9c","unresolved":true,"context_lines":[{"line_number":1307,"context_line":""},{"line_number":1308,"context_line":"\t\tint retval \u003d command_stdinout_init(context);"},{"line_number":1309,"context_line":"\t\tif (retval \u003d\u003d ERROR_OK) {"},{"line_number":1310,"context_line":"\t\t\tstdin \u003d  context-\u003edup_stdin;"},{"line_number":1311,"context_line":"\t\t\tstdout \u003d context-\u003edup_stdout;"},{"line_number":1312,"context_line":"\t\t} else {"},{"line_number":1313,"context_line":"\t\t\tLOG_ERROR(\"Failed to redirect stdio\");"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"735befbe_c8261a4f","line":1310,"updated":"2026-07-07 09:29:05.000000000","message":"Here we want to push a new stdin to libjim.\nBuild failed on Windows Mingw because stdin is a macro expanded to the value returned by a function. Cannot be assigned\nstdio.h:`#define stdin (__acrt_iob_func(0))`\n\nCannot find a simple way to get it working in Windows!","commit_id":"fc9fdc742ed25bed547ef98cbe5c564d785bfbd6"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"cd01c9d85154ba47ae1305ab6d3a93567b22438d","unresolved":true,"context_lines":[{"line_number":1307,"context_line":""},{"line_number":1308,"context_line":"\t\tint retval \u003d command_stdinout_init(context);"},{"line_number":1309,"context_line":"\t\tif (retval \u003d\u003d ERROR_OK) {"},{"line_number":1310,"context_line":"\t\t\tstdin \u003d  context-\u003edup_stdin;"},{"line_number":1311,"context_line":"\t\t\tstdout \u003d context-\u003edup_stdout;"},{"line_number":1312,"context_line":"\t\t} else {"},{"line_number":1313,"context_line":"\t\t\tLOG_ERROR(\"Failed to redirect stdio\");"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"92d18be0_089d751f","line":1310,"in_reply_to":"735befbe_c8261a4f","updated":"2026-07-08 10:36:14.000000000","message":"Fixed the build for Windows, but not tested on in.\n\nI see an issue that I reported in the doc, the need to run `fconfigure` twice.\nNot nice. Jim Tcl still keeps a single instance for its STDIN data, even if now we have one STDIN per telnet connection. Running the command twice allow us to bypass the values cached in the common instance.\nI would prefer looking for another solution, but out of imagination for the moment.","commit_id":"fc9fdc742ed25bed547ef98cbe5c564d785bfbd6"}]}
