projects
/
project
/
jsonpath.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de125c0
)
parser: change exitcode in case of oom errors
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Dec 2013 21:03:51 +0000
(21:03 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 29 Dec 2013 21:03:51 +0000
(21:03 +0000)
parser.y
patch
|
blob
|
history
diff --git
a/parser.y
b/parser.y
index bdfc1f24a22f8408a7f9513be433ea1de017e6dc..acca9e12425b2f78f5768b97b8a26a78c33fb024 100644
(file)
--- a/
parser.y
+++ b/
parser.y
@@
-186,7
+186,7
@@
_jp_alloc_op(struct jp_state *s, int type, int num, char *str, ...)
if (!newop)
{
fprintf(stderr, "Out of memory\n");
- exit(1);
+ exit(1
27
);
}
newop->type = type;