cvs commit: src/usr.sbin/config config.h config.y lang.l main.c mkheaders.c mkioconf.c mkmakefile.c mkoptions.c

Chris Pressey cpressey at catseye.mine.nu
Tue Jan 11 20:06:11 PST 2005


On Wed, 12 Jan 2005 03:38:43 +0000
David Rhodus <sdrhodus at xxxxxxxxx> wrote:

> On Tue, 11 Jan 2005 16:26:03 -0800 (PST), Chris Pressey
> <cpressey at xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > cpressey    2005/01/11 16:26:03 PST
> > 
> > DragonFly src repository
> > 
> >   Modified files:
> >     usr.sbin/config      config.h config.y lang.l main.c
> >                          mkheaders.c mkioconf.c mkmakefile.c
> >                          mkoptions.c
> >   Log:
> >   Reduce warnings when compiled under WARNS=6:
> >   - Constify many char *'s;
> >   - Rename a local variable;
> >   - Initialize an option list element using strdup (as is done elsewhere)
> >     instead of directly assigning a string constant to it.
> > 
> >   Revision  Changes    Path
> >   1.6       +3 -3      src/usr.sbin/config/config.h
> >   1.11      +2 -2      src/usr.sbin/config/config.y
> >   1.10      +1 -1      src/usr.sbin/config/lang.l
> >   1.14      +2 -2      src/usr.sbin/config/main.c
> >   1.13      +9 -9      src/usr.sbin/config/mkheaders.c
> >   1.9       +2 -2      src/usr.sbin/config/mkioconf.c
> >   1.14      +6 -6      src/usr.sbin/config/mkmakefile.c
> >   1.14      +3 -2      src/usr.sbin/config/mkoptions.c
> 
> This breaks buildworld :
> yacc -d /home/drhodus/ok/src/usr.sbin/config/config.y
> lex -t  /home/drhodus/ok/src/usr.sbin/config/lang.l > lang.c
> cp y.tab.c config.c
> rm -f .depend
> mkdep -f .depend -a      config.c /home/drhodus/ok/src/usr.sbin/config/main.c la
> ng.c /home/drhodus/ok/src/usr.sbin/config/mkioconf.c /home/drhodus/ok/src/usr.sb
> in/config/mkmakefile.c /home/drhodus/ok/src/usr.sbin/config/mkheaders.c /home/dr
> hodus/ok/src/usr.sbin/config/mkoptions.c
> /home/drhodus/ok/src/usr.sbin/config/main.c:49: y.tab.h: No such file or directo
> ry

Weird, I tested it with buildworld...

Anyway it should be fixed now.

-Chris





More information about the Commits mailing list