cvs commit: src/usr.bin/yacc main.c

Wes Peters wes at softweyr.com
Fri Mar 5 01:40:45 PST 2004


Ruslan Ermilov wrote:
> On Thu, Mar 04, 2004 at 05:52:10PM -0800, Wes Peters wrote:
> 
>>wes         2004/03/04 17:52:10 PST
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    usr.bin/yacc         main.c 
>>  Log:
>>  Use getopt instead of hand-rolled argument parsing.  Usage remains
>>  the same, no man page changes required.
>>  
>>  PR:             bin/48313
>>  Submitted by:   Stefan Farfeleder <stefan at fafoe.dyndns.org>
>>  Reviewed by:    joe@
>>  
>>  Revision  Changes    Path
>>  1.21      +15 -72    src/usr.bin/yacc/main.c
>>
> 
> One should be extra careful not to break the upgrade path from
> earlier releases when modifying the bootstrap- and cross-tools,
> like yacc(1).
> 
> I know this commit shouldn't break it, just wanted to attract
> some more attention to this issue, so that it is taken into
> consideration in the future.

Thanks.  There's never a bad time for a gentle reminder.
I did test this by compiling everything in usr.bin that
had a .y file.  Between that and the lack of user-visible
changes, it seemed pretty safe.

--

         Where am I, and what am I doing in this handbasket?

Wes Peters                                              wes at softweyr.com


More information about the cvs-src mailing list