This is the mail archive of the
mailing list for the Cygwin project.
Re: popen() fails while system() works
On Wed, 05 Jan 2005 10:02:04 -0500, Jason Tishler wrote:
> IMO, rebasing individual DLLs is not be very useful, unless you know
> where all of the other DLLs are based.
thanks, rebaseall makes it working - for a while ;-)
after reviewing my code i found a real big memory allocation:
char* line = new char[std::string().max_size()];
which allocates 1073741820 in my case! well this is really much more
memory that i need for a single line read from another process using
popen()! changing this to a more reasonable size makes everything work,
even without rebaseall!
but what's the real reason why popen() results in the address
conflict and system() does not?!
Research & Development
TOPCALL Internation AG
A-1230 Vienna, Talpagasse 1
Phone: +43 1 86353 198 Fax: +43 1 86353 8198
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html