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

David Rhodus sdrhodus at gmail.com
Tue Jan 11 19:39:30 PST 2005


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
/home/drhodus/ok/src/usr.sbin/config/lang.l:41: y.tab.h: No such file or directo
ry
/home/drhodus/ok/src/usr.sbin/config/mkioconf.c:40: y.tab.h: No such file or dir
ectory
/home/drhodus/ok/src/usr.sbin/config/mkmakefile.c:49: y.tab.h: No such file or d
irectory
/home/drhodus/ok/src/usr.sbin/config/mkheaders.c:48: y.tab.h: No such file or di
rectory
/home/drhodus/ok/src/usr.sbin/config/mkoptions.c:49: y.tab.h: No such file or di
rectory
mkdep: compile failed
*** Error code 1
1 error


-- 
                                            -David
                                            Steven David Rhodus
                                            <drhodus at xxxxxxxxxxx>





More information about the Commits mailing list