summaryrefslogtreecommitdiff
path: root/manual/check-safety.sh
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2014-11-07 03:33:09 -0200
committerAlexandre Oliva <aoliva@redhat.com>2014-11-07 03:33:09 -0200
commit493d02359148f6c436e21933077dd9cb9a335703 (patch)
treee533cf8a20633b9098a890cc8dc806d0161a27d3 /manual/check-safety.sh
parent2c46a66a3a24e94fbe78151b6a53f15972ef7e2b (diff)
downloadglibc-493d02359148f6c436e21933077dd9cb9a335703.tar.gz
Require check-safety.sh to pass; verify all fns are documented
for ChangeLog * manual/check-safety.sh: Check that each @deftypefn or @deftypefun is followed by a @safety remark. * manual/Makefile ($(objpfx)stamp-summary): Require check-safety.sh to pass.
Diffstat (limited to 'manual/check-safety.sh')
-rw-r--r--manual/check-safety.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/manual/check-safety.sh b/manual/check-safety.sh
index 701624d3b1..aaad313c08 100644
--- a/manual/check-safety.sh
+++ b/manual/check-safety.sh
@@ -30,6 +30,11 @@ success=:
# If no arguments are given, take all *.texi files in the current directory.
test $# != 0 || set *.texi
+# FIXME: check that each @deftypefu?n is followed by a @safety note,
+# with nothing but @deftypefu?nx and comment lines in between. (There
+# might be more stuff too).
+
+
# Check that all safety remarks have entries for all of MT, AS and AC,
# in this order, with an optional prelim note before them.
grep -n '^@safety' "$@" |