aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-04-19 13:11:08 +0000
committerMarcus Brinkmann <[email protected]>2004-04-19 13:11:08 +0000
commit36918a64e708b6501b3a338697d7e9ecf2250331 (patch)
tree59e54a805e309ad49375a49af12e62d9492c47f1
parent2004-03-09 Marcus Brinkmann <[email protected]> (diff)
downloadlibgpg-error-36918a64e708b6501b3a338697d7e9ecf2250331.tar.gz
libgpg-error-36918a64e708b6501b3a338697d7e9ecf2250331.zip
2004-04-19 Marcus Brinkmann <[email protected]>
* src/mkerrcodes.awk: Allow whitespace before expanded preprocessor macro (ie, the error code value). Needed for Solaris 2.8.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS2
-rw-r--r--src/mkerrcodes.awk2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 34b35dd..eefd468 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-19 Marcus Brinkmann <[email protected]>
+
+ * src/mkerrcodes.awk: Allow whitespace before expanded
+ preprocessor macro (ie, the error code value). Needed for Solaris 2.8.
+
2004-04-08 Moritz Schulte <[email protected]>
* src/gpg-error.c (main): Return zero on success.
diff --git a/NEWS b/NEWS
index 82fa39a..64b1d2b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
Noteworthy changes in version 0.8 (unreleased)
----------------------------------------------
- * (none so far)
+ * Ported to Solaris 2.8.
* Interface changes relative to the 0.7 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/src/mkerrcodes.awk b/src/mkerrcodes.awk
index c101496..55eac34 100644
--- a/src/mkerrcodes.awk
+++ b/src/mkerrcodes.awk
@@ -63,7 +63,7 @@ BEGIN {
/^#/ { next; }
header {
- if ($0 ~ /^[0-9]+/)
+ if ($0 ~ /^[ \t]*[0-9]+/)
{
header = 0;