summaryrefslogtreecommitdiff
path: root/lib/libedit/common.c
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2016-06-30 09:06:35 +0000
committermrg <mrg@NetBSD.org>2016-06-30 09:06:35 +0000
commitccbfe3f582a16ce09feb0ff94de6911725935a47 (patch)
tree649cd4b46d95d94ceb902ec700bfd5c1920b1a8b /lib/libedit/common.c
parent011df68bc6780e101c5c0d382f9c9b18884d6e79 (diff)
enable some soft-fp for ia64, needed for libgcc. re-mknative-gcc.
Diffstat (limited to 'lib/libedit/common.c')
0 files changed, 0 insertions, 0 deletions
85ebf103375262b27fffdad71fc44b299417f3ff'>Add __printflike attribution to use vprintf and friends with an argumentjoerg as format string. 2011-08-25Mark yyerror as dead.joerg 2009-01-20Revert for now, pending discussion of how expr should behave in the casejoerg of pre-POSIX expressions. 2009-01-20SUS says that expr must support "--" to prevent interpretation ofjoerg negative numbers as options. 2008-04-30Normalize TNF license, move to 2 clause.martin 2006-03-17Handle asprintf failing to allocate.rumble 2005-06-01appease gcc -Wuninitializedlukem 2004-04-20add support for 'length' keyword, for compatibility with GNU exprjdolecek 2004-03-20explicitly use REG_BASIC when calling regcomp(3), instead of 0jdolecek 2003-02-14'NetBSD.org'grant 2001-09-16Use {g,s}etprogname, and some other KNF stuff. Patch by Petri Koistinen.wiz 2001-05-06Various cleanups/fixes.jmc Change the add/subtract overflow checks to use an unsigned to do the op and then cast back into the signed var to check the signs. Make multiply shortcut on either right or left being 0. Make multiply's overflow test not fail on simple cases like 1 * -1 Make the multiple overflow test pass all the regress tests. 2001-05-05Various changes to fix bugs in PR bin/12838.jmc Make sure all precendence is spelled out correctly (comparison does not have the same level as the arithmetic operators..) Break the arithemtic operators into 2 classes (+- are lower than */%) Restructure the arithmetic code into a function either class above can call. Finally, add a whole suite of regression tests (checked in separately) which the previous code failed on 3 of them. 2001-04-25Spell occurred correctly.simonb 2001-02-04remove redundant declaration of yyparsechristos 2000-10-30add a hack to properly handle '--' as first argument -jdolecek it's ignored if it would cause syntax error, otherwise treated as common string; this is so that both 'expr -- : .' and 'expr -- foo : .' works This addresses standards/11230 by Ben Harris. while here, make all global variables but main() static, use const more 2000-10-29The "&" operator has a higer precedence than "|".thorpej 2000-10-27also credit J.T. Conklin in copyright messagejdolecek 2000-10-26fix operator precedence - | or & have lower priority thanjdolecek arithmetic operations, compare, or : This should fix bin/11318 by Love <lha@stacken.kth.se> 2000-09-29in regexp handling code, fix the format passed to asprintf() to bejdolecek actually in intended form - use "%.*s" and not incorrect "%*s" Bug found by Launey Thomas <ljt@alum.mit.edu> and reported in private e-mail. 2000-09-21Fix bug in regexp handling, caused not quite complete conversionjdolecek from old expr.c. This fixes PR # 11060. While here, convert the code to use asprintf() instead of strdup() followed by truncating of new string and move definition of errstr to block where it's used. 2000-09-19reimplement expr using lexical parser generated by yaccjdolecek highlights: * / is treated correctly depending upon context (addresses PR # 10995) * use 64 bit arithmetic, so expr is able to process integer values from -(2**63) to (2**63 - 1) * checks for integer over- & underflows added * error messages improved, more error checking added add AUTHOR section to manpage add BUGS section, and mention possible drawbacks with other expr implementations XXX the old expr treated empty string in arithmetic expressions as if it was 0 XXX this behaviour has been retained