commit | 41038c5e1534a6abef21ec4cfc216d13d0ac2fb5 | [log] [tgz] |
---|---|---|
author | Dmitry Potapov <dpotapov@gmail.com> | Tue Oct 07 04:14:18 2008 +0400 |
committer | Shawn O. Pearce <spearce@spearce.org> | Sun Oct 12 13:21:59 2008 -0700 |
tree | 932ca820130ff8bb4bbf67aa5a3ee1ca0d1b5b4d | |
parent | 5c283eb13c94be6ca974aa722159dc9838d10d97 [diff] |
check-attr: add an internal check_attr() function This step is preparation to introducing --stdin-paths option. I have also added maybe_flush_or_die() at the end of main() to ensure that we exit with the zero code only when we flushed the output successfully. Signed-off-by: Dmitry Potapov <dpotapov@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>