summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-03-09 15:34:12 +0100
committerWerner Koch <wk@gnupg.org>2004-03-09 15:34:12 +0100
commit7ad15ec24a29d76dadc33da8930a3fc7f566903a (patch)
tree1ed24105b3443433fdfd2c0ee08c9f37d0edb0b0
parent2004-03-08 Marcus Brinkmann <marcus@g10code.de> (diff)
downloadgnupg2-7ad15ec24a29d76dadc33da8930a3fc7f566903a.tar.xz
gnupg2-7ad15ec24a29d76dadc33da8930a3fc7f566903a.zip
Removed special code for RISC OS; we
don't want to clutter our code with system dependent stuff.
-rw-r--r--tools/ChangeLog5
-rw-r--r--tools/gpgconf-comp.c10
2 files changed, 13 insertions, 2 deletions
diff --git a/tools/ChangeLog b/tools/ChangeLog
index 9acd30f48..ebdc94eaf 100644
--- a/tools/ChangeLog
+++ b/tools/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-09 Werner Koch <wk@gnupg.org>
+
+ * gpgconf-comp.c [_riscos_]: Removed special code for RISC OS; we
+ don't want to clutter our code with system dependent stuff.
+
2004-03-08 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (retrieve_options_from_file): Quote each string
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index e483675f8..791839a4d 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -42,6 +42,13 @@
/* TODO:
Portability - Add gnulib replacements for getline, etc.
+
+XXX Marcus: Please use the read_line code from dirmngr/src/http.c - it
+has been in use for may years and provides the ability to limit the
+length of the line and thus thwart DoS (not a issue here but at many
+other places).
+
+
Backend: File backend must be able to write out changes !!!
Components: Add more components and their options.
Robustness: Do more validation. Call programs to do validation for us.
@@ -52,8 +59,7 @@
*/
-#if defined (__riscos__) \
- || (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 ))
+#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 ))
void gc_error (int status, int errnum, const char *fmt, ...) \
__attribute__ ((format (printf, 3, 4)));
#endif