author | Dmitry Potapov <dpotapov@gmail.com> | |
Tue, 7 Oct 2008 00:14:18 +0000 (04:14 +0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 12 Oct 2008 20:21:59 +0000 (13:21 -0700) | ||
commit | 41038c5e1534a6abef21ec4cfc216d13d0ac2fb5 | |
tree | 932ca820130ff8bb4bbf67aa5a3ee1ca0d1b5b4d | tree | snapshot |
parent | 5c283eb13c94be6ca974aa722159dc9838d10d97 | commit | 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>
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>
builtin-check-attr.c | diff | blob | history |