aboutsummaryrefslogtreecommitdiffstats
path: root/doc/HACKING
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-12-08 12:44:24 +0000
committerWerner Koch <[email protected]>2017-12-08 12:44:24 +0000
commit6d14be22a149da4c7b5d2f63d0343a337081446b (patch)
treecd746a8b6d9872cab16503aebdd738710c0ac76a /doc/HACKING
parentdoc: Update copyright notices for common/exechelp*. (diff)
downloadgnupg-6d14be22a149da4c7b5d2f63d0343a337081446b.tar.gz
gnupg-6d14be22a149da4c7b5d2f63d0343a337081446b.zip
doc: Clarify C90 exceptions and add a new commit tag.
-- The variable definition inside a for statement require to use a c99 option for gcc which we do not want. It has never been used and thus we drop it. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/HACKING')
-rw-r--r--doc/HACKING11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/HACKING b/doc/HACKING
index 62a6f9511..17c58269b 100644
--- a/doc/HACKING
+++ b/doc/HACKING
@@ -33,9 +33,9 @@ not be copied to the ChangeLog, separate it by a line consisting of
two dashes at the begin of a line.
The one-line summary usually starts with a keyword to identify the
-mainly affected subsystem. If more than one keyword is required the
-are delimited by a comma (e.g. =scd,w32:=). Commonly found keywords
-are
+mainly affected subsystem (that is not the directory). If more than
+one keyword is required they are delimited by a comma
+(e.g. =scd,w32:=). Commonly found keywords are
- agent :: The gpg-agent component
- build :: Changes to the build system
@@ -207,10 +207,6 @@ Note that such a comment will be removed if the git commit option
- The predefined macro =__func__=:
: log_debug ("%s: Problem with foo\n", __func__);
- - Variable declaration inside a for():
- : for (int i = 0; i < 5; ++)
- : bar (i);
-
Although we usually make use of the =u16=, =u32=, and =u64= types,
it is also possible to include =<stdint.h>= and use =int16_t=,
=int32_t=, =int64_t=, =uint16_t=, =uint32_t=, and =uint64_t=. But do
@@ -224,6 +220,7 @@ Note that such a comment will be removed if the git commit option
- CVE-id :: CVE id number pertaining to this commit.
- Regression-due-to :: Commit id of the regression fixed by this commit.
- Fixes-commit :: Commit id this commit fixes.
+ - Updates-commit :: Commit id this commit updates.
- Reported-by :: Value is a name or mail address of a bug reporte.
- Suggested-by :: Value is a name or mail address of someone how
suggested this change.