[PATCH 5/6] Remove miscellaneous debris from libio.

Florian Weimer fweimer@redhat.com
Mon Feb 19 17:41:00 GMT 2018


On 02/11/2018 05:35 PM, Zack Weinberg wrote:
> -#if 0 /* Work in progress */
> -/* Seems not to be needed.  */
> -#if 0
> -void
> -_IO_set_column (FILE *fp, int c)

I'm glad that's gone.  8-P

The rest of the patch is okay, except I'm not sure if moving around this 
comment is the right thing:

> +/* Does not actually test that stream was created by popen(). Instead,
> +   it depends on the filebuf::sys_close() virtual to Do The Right Thing. */

It doesn't look very informative and completely up-to-date to me.  But I 
don't think it's a good use of our time to dwell on this.

Do fclose and pclose have to have different addresses?  We could make 
them aliases.


Thanks,
Florian



More information about the Libc-alpha mailing list