Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Juanjo
insist that we could live without fork if only fread() on Windows handles worked -- all ECL needs is a means to execute programs with redirected input/output & error channels (a bit beyond what popen() does). If the answer is we should abandon Cygwin or deprecate it for this project, it wou

Re: Problem with Cygwin's fdopen and Windows handles

2011-05-30 Thread Juanjo
em is that when fork() reloads them they do not end up in the right positions and cygwin complains. It is not our job to hardcode addresses for libraries to be loaded and do what cygwin is not doing right, which is to determine the right order of loading. Juanjo -- Problem reports:

Problem with Cygwin's fdopen and Windows handles

2011-05-29 Thread Juanjo
. Any help is really welcome and appreciated. Juanjo /* -*- mode: c; c-basic-offset: 8 -*- */ /* unixsys.s -- Unix shell interface. */ /* Copyright (c) 1984, Taiichi Yuasa and Masami Hagiya. Copyright (c) 1990, Giuseppe Attardi. Copyright (c) 2001, Juan Jose Garcia Ripoll. ECL