https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242828
--- Comment #2 from fehmi noyan isi <[email protected]> --- I think adding one _if_ check to the case where the files differ would be sufficient; switch (files_differ(f1, f2, flags)) { case 0: goto closem; case 1: /* if brief output is needed, just return to the caller */ if (diff_format == D_BRIEF) { rval = D_DIFFER; goto closem; } break; default: /* error */ status |= 2; goto closem; } with this change, when -q or --brief is used, diff(1) will just print a message without doing any further work -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
