看板 DFBSD_commit 關於我們 聯絡資訊
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