[GRASS5] [bug #2927] (grass) d.what.vect - broken pipe
Florian Goessmann
florian at wallweg39.de
Thu Jan 27 22:02:45 EST 2005
On 27.01.2005, at 23:19, Radim Blazek wrote:
>>
>
> If it helped, try to move it below the first read
>
> while ( 1 ) {
> ret = read ( fileno(stdin) , &(buf[0]), 1);
> fcntl ( fileno(child_recv), F_SETFL, O_NONBLOCK);
> if ( ret == 0 ) break; /* Pipe was closed by parent -> quit */
> if ( ret == 1 ) {
>
> otherwise the form is not updated and cannot be edited.
>
that worked on my mac. i commit it to cvs that it can be tested on
other platforms.
florian
More information about the grass-dev
mailing list