On Wed, 27 Nov 2002, Sara Pollita Golemon wrote: > >> Derick Rethans <[EMAIL PROTECTED]> wrote: > >> > >> > I don't like us adding a new ini entry for this, I think we should > >> try another option: > >> > > >> > 4) Make sure we can use fscanf on a dynamically sized buffer. This > >> will definitely the hardest solution, but also the most beautiful > >> one. > >> > > > I'll admit to not knowing what you mean by 'dynamically sized buffer's. > Is there an example of another function which works with such?
char *buf; buf = malloc(length of line); vs. char buf[MAX_BUF_SIZE]; and example of such a function is AFAIK not really available for a PHP function, but api wise there is php_stream_get_line which uses it. As you can see sterling just put that in to 'fix' this feature report (his commit to file.c). regards, Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php