aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-10-18 12:35:02 +0200
committerArnold D. Robbins <arnold@skeeve.com>2011-10-18 12:35:02 +0200
commitd45dee9add229d64ca875c11c78392e1a80dc100 (patch)
tree648734ad6410b07d00a002c3b5c816dbf90c109c
parentb8fb7b2d4287058c9d2fab1a871e9181840279be (diff)
downloadegawk-d45dee9add229d64ca875c11c78392e1a80dc100.tar.gz
egawk-d45dee9add229d64ca875c11c78392e1a80dc100.tar.bz2
egawk-d45dee9add229d64ca875c11c78392e1a80dc100.zip
Another non-MBS fix in dfa.c.
-rw-r--r--ChangeLog2
-rw-r--r--dfa.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c25bab82..47318431 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@
* builtin.c (do_strftime): Add check for negative / overflowed
time_t value with fatal error. Thanks to Hermann Peifer
<peifer@gmx.eu> for the bug report.
+ * dfa.c (setbit_wc): Non-MBS version. Add a return false
+ since VMS compiler doesn't understand that abort doesn't return.
2011-10-10 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/dfa.c b/dfa.c
index 19bbaa31..a909f68f 100644
--- a/dfa.c
+++ b/dfa.c
@@ -616,7 +616,12 @@ setbit_c (int b, charclass c)
}
#else
# define setbit_c setbit
-static inline bool setbit_wc (wint_t wc, charclass c) { abort (); }
+static inline bool setbit_wc (wint_t wc, charclass c)
+{
+ abort ();
+ /*NOTREACHED*/
+ return false;
+}
#endif
/* Like setbit_c, but if case is folded, set both cases of a letter. For