Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lyskom-server-ceder-1616-generations-topgit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
6f8cc6ff
Commit
6f8cc6ff
authored
Dec 31, 2001
by
Per Cederqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(check): Create files for all error codes that are implemented. Check
@errorcode{} usage. (Bug 205).
parent
a3efe4ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
3 deletions
+36
-3
doc/Makefile.am
doc/Makefile.am
+36
-3
No files found.
doc/Makefile.am
View file @
6f8cc6ff
# $Id: Makefile.am,v 1.3
7 2001/12/31 22:12:37
ceder Exp $
# $Id: Makefile.am,v 1.3
8 2001/12/31 22:41:04
ceder Exp $
# Copyright (C) 1998-1999, 2001 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
...
...
@@ -158,6 +158,40 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
sed
's/.*/^@type{&}$$/'
\
>
types-@.tmp
## Create a list of all error codes.
cat
$(top_srcdir)/src/include/kom-errno.h
\
|
sed
-n
-e
'/enum kom_err/,/};/!d'
\
-e
's/ *KOM_\([A-Z_]*\) *= *\([0-9]*\),.*/\2 \1/p'
\
|
tr
'[A-Z]'
'[a-z]'
\
|
sed
-e
's/_/-/g'
\
-e
's/ not-impl$$/ not-implemented/'
\
-e
's/ obsolete$$/ obsolete-call/'
\
-e
's/ pwd$$/ invalid-password/'
\
-e
's/ long-str$$/ string-too-long/'
\
-e
's/ login$$/ login-first/'
\
-e
's/ conf-zero$$/ conference-zero/'
\
-e
's/ undef-conf$$/ undefined-conference/'
\
-e
's/ undef-pers$$/ undefined-person/'
\
-e
's/ access$$/ access-denied/'
\
-e
's/ perm$$/ permission-denied/'
\
-e
's/ conf-exists$$/ conference-exists/'
\
-e
's/ pers-exists$$/ person-exists/'
\
-e
's/ letter-box$$/ letterbox/'
\
-e
's/ ldb-err$$/ ldb-error/'
\
-e
's/ ill-misc$$/ illegal-misc/'
\
-e
's/ comm-limit$$/ comment-limit/'
\
-e
's/ foot-limit$$/ footnote-limit/'
\
-e
's/ undef-session$$/ undefined-session/'
\
-e
's/ tempfail$$/ temporary-failure/'
\
-e
's/ anon-rejected$$/ anonymous-rejected/'
\
-e
's/ ill-aux$$/ illegal-aux-item/'
\
-e
's/ aux-perm$$/ aux-item-permission/'
\
|
tee
errorcodes-numbered.tmp
\
|
sed
's/[0-9]* //'
\
|
tee
errorcodes.tmp
\
|
sed
's/.*/^@errorcode{&}$$/'
\
>
errorcodes-@.tmp
## Create a list of all @x{}-constructs used.
sed
-e
'/@bye/,$$d'
\
-e
'/^@c /d'
\
...
...
@@ -179,7 +213,6 @@ check-doc: Protocol-A.notab lyskomd.notab info
## are checked below, so ignore them here. Various @ref
## constructs are checked by makeinfo, so we ignore them as
## well. @t{} are not interresting.
## FIXME (bug 205): @errocode{} should be checked.
## FIXME (bug 206): @field{} should be checked.
## FIXME (bug 207): @priv{} should be checked.
cat
constructs.tmp
\
...
...
@@ -190,7 +223,6 @@ check-doc: Protocol-A.notab lyskomd.notab info
|
grep
-v
'@pxref{'
\
|
grep
-v
'@t{'
\
|
grep
-v
'@footnote{'
\
|
grep
-v
'@errorcode{'
\
|
grep
-v
'@field{'
\
|
grep
-v
'@priv{'
\
|
grep
-v
'@anchor{'
\
...
...
@@ -202,6 +234,7 @@ check-doc: Protocol-A.notab lyskomd.notab info
-f
async-@.tmp
\
-f
miscs-@.tmp
\
-f
conftypes-@.tmp
\
-f
errorcodes-@.tmp
\
>
constructs-@.tmp
## If the diff command below finds any differences, you have to
## check that they are expected, and then manually update
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment