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

cvs commit: src/usr.bin/join Makefile join.c


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Jan 2005 13:40:43 -0800 (PST)

cpressey    2005/01/16 13:40:42 PST

DragonFly src repository

  Modified files:
    usr.bin/join         Makefile join.c 
  Log:
  Raise WARNS to 6:
  - Use parentheses in a logical condition to prevent ambiguous
    interpretation (by humans, who are imperfect C parsers.)  In doing
    so, simplify it:  x == 0 implies (x != 1 and x != 2).
  
  Revision  Changes    Path
  1.2       +2 -0      src/usr.bin/join/Makefile
  1.6       +2 -2      src/usr.bin/join/join.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/join/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/join/join.c.diff?r1=1.5&r2=1.6&f=u



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