Commit Graph

9 Commits

Author SHA1 Message Date
FRIGN
abdd0671f7 Refactor expr.c 2014-11-17 10:05:19 +00:00
sin
7b8d7fb78e Fix uninitialized use of ret in expr(1) 2014-11-16 14:52:44 +00:00
Hiltjo Posthuma
b3ae1a7b4b expr: improvements
- handle divide by zero.
- use eregcomp().
- use emalloc().
- use snprintf() for safety and add a buffer size argument to valstr() just
  to be sure.
- code-style fixes.
2014-11-16 14:37:22 +00:00
sin
da715252b3 Add license heading at the top in expr.c 2014-11-16 12:57:54 +00:00
sin
15097f6ab3 Don't use C++ type comments 2014-11-16 12:54:47 +00:00
Evan Gates
6240d26beb new expr using shunting-yard instead of recursive descent (this time with tabs) 2014-11-16 12:52:48 +00:00
sin
41d78c398b Staticise symbols 2014-10-16 12:30:52 +01:00
sin
a1784b721d Fix build error
Remove __dead.
2014-09-29 14:10:54 +01:00
sin
618aecd2ec Import expr(1) from OpenBSD
Cleanup + manpage to be done.
2014-09-29 13:44:49 +01:00