DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.sbin/config main.c


From: Thomas Nikolajsen <thomas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 9 Jul 2008 16:52:16 -0700 (PDT)

thomas      2008/07/09 16:52:16 PDT

DragonFly src repository

  Modified files:
    usr.sbin/config      main.c 
  Log:
  Fix `option INCLUDE_CONFIG_FILE',
  which was broken using gcc4.1.2 (default compiler).
  
  Solution is to drop `static' for variable containing CONFIG.
  Name of variable also change from config to config_INCLUDE_CONFIG_FILE,
  to minimize chance of name clash, now that it is made public.
  Variable isn't used, so gcc optimized it away.
  
  Revision  Changes    Path
  1.23      +1 -1      src/usr.sbin/config/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/config/main.c.diff?r1=1.22&r2=1.23&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]