projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc47141
)
(expr_debug_print_postfix) Don't pass null pointer to printf for %.*s.
author
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 06:11:34 +0000
(06:11 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 31 Jul 2005 06:11:34 +0000
(06:11 +0000)
src/ChangeLog
patch
|
blob
|
history
src/expressions/evaluate.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index cd4f47b97a05586e6c8675c627d0aae38a40231a..5b4aac61992679e74a46d2033d4f7245ee8871fc 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+Sat Jul 30 23:10:01 2005 Ben Pfaff <blp@gnu.org>
+
+ * epxressions/evaluate.c: (expr_debug_print_postfix) Don't pass
+ null pointer to printf for %.*s.
+
Sat Jul 30 23:05:33 2005 Ben Pfaff <blp@gnu.org>
* vars-atr.c: (var_is_valid_name) Fix three msg() bugs found by
Sat Jul 30 23:05:33 2005 Ben Pfaff <blp@gnu.org>
* vars-atr.c: (var_is_valid_name) Fix three msg() bugs found by
diff --git
a/src/expressions/evaluate.c
b/src/expressions/evaluate.c
index 1607681604357b075e92ff2397ed99ca24c95f26..cfde2c1feb504f7d77042129705eaec295d61f7b 100644
(file)
--- a/
src/expressions/evaluate.c
+++ b/
src/expressions/evaluate.c
@@
-289,7
+289,8
@@
expr_debug_print_postfix (const struct expression *e)
break;
case OP_string:
fprintf (stderr, "s<%.*s>",
break;
case OP_string:
fprintf (stderr, "s<%.*s>",
- (int) op->string.length, op->string.string);
+ (int) op->string.length,
+ op->string.string != NULL : op->string.string : "");
break;
case OP_format:
fprintf (stderr, "f<%s%d.%d>",
break;
case OP_format:
fprintf (stderr, "f<%s%d.%d>",