Date: Wed, 7 May 2008 16:11:09 -0700 From: Alfred Perlstein <alfred@freebsd.org> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: Peter Jeremy <peterjeremy@optushome.com.au>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/include stdio.h src/lib/libc/stdio clrerr.c feof.c ferror.c fileno.c getc.c getchar.c local.h putc.c putchar.c xprintf.c Message-ID: <20080507231109.GE32532@elvis.mu.org> In-Reply-To: <48222782.7000303@FreeBSD.org> References: <200805051603.m45G3rrN089219@repoman.freebsd.org> <200805051459.29200.jhb@freebsd.org> <20080505192417.GS7293@server.vk2pj.dyndns.org> <200805051637.43073.jhb@freebsd.org> <20080507064013.GU32532@elvis.mu.org> <48222782.7000303@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Maxim Sobolev <sobomax@FreeBSD.org> [080507 15:05] wrote: > Alfred Perlstein wrote: > >>It appears that autoconf only believes a type is real if you can typedef > >>it to another type, cast 0 to a valid pointer to the new typedef'd type, > >>and do a sizeof() of the typdef'd type. The last is where having an > >>opaque type breaks down for scripts that want to make sure FILE is a real > >>type. > > > > > >Oh c'mon! we're going to revert this needed fix just because of > >autoconf? > > > >By the time 8.0 rolls around, autoconf will be fixed and there > >will be some standard patch/workaround for old autoconf. > > > >Let's just roll forward with this. We've needed it for years. > > Can you please explain the "needed" part? What are gains apart from pure > aesthetics and removing some type dependency from libc that otherwise > needs to know actual storage type of pthread_t&Co? Neither is worth > breaking zillion autoconf scripts out there IMHO (not everybody uses up > to date ports and ports in general!). My understanding is that we are stuck with a max 16k stdio descriptors until we rev the structure. Regarding the API rev, this is in CURRENT, and we can change things. I don't think a few base utils AND autoconf is reason to abort this direction. -- - Alfred Perlstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080507231109.GE32532>