Remove == TRUE' tests and convert != TRUE' and `== FALSE' tests to use !.

This commit is contained in:
Matt Kraai
2001-12-20 23:13:26 +00:00
parent 31c73af656
commit 1f0c43668a
27 changed files with 144 additions and 144 deletions

View File

@ -53,10 +53,10 @@ extern int touch_main(int argc, char **argv)
}
while (argc > 0) {
fd = open(*argv, (create == FALSE) ? O_RDWR : O_RDWR | O_CREAT,
fd = open(*argv, create ? O_RDWR | O_CREAT : O_RDWR,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
if (fd < 0) {
if (create == FALSE && errno == ENOENT) {
if (! create && errno == ENOENT) {
argc--;
argv++;
continue;