aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/signals.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-09mds-kbdc: bug fixes and test casesMattias Andrée8-20/+76
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09mds-kbdc: compile-layout: watch out for incomplete function callsMattias Andrée2-0/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09mds-kbdc: m + compile-layout: bug fixes and test casesMattias Andrée5-16/+44
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09mds-kbdc: compile-layout: macro_call: fix bug: do not duplicate the arguments if there are noneMattias Andrée2-3/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09mds-kbdc: compile-layout: fix a bug in parse_variableMattias Andrée2-3/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09report an error, rather than causing failure the caller but not for the called functionMattias Andrée1-0/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09missed to change some partsMattias Andrée3-23/+14
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09make sure errno is not changed during fail_ifMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09improve with_mutex and with_mutex_if alsoMattias Andrée2-11/+23
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09make exit_if easier on the syntaxMattias Andrée2-6/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09make some macros easiler on the syntaxMattias Andrée2-42/+43
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09make fail_if friendlier to complex if-statementsMattias Andrée3-25/+17
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalitiesMattias Andrée1-3/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-09with a few exceptions, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée9-90/+93
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée32-551/+685
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08update the texinfo manual for the new use of fail_ifMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08rename pfail to failMattias Andrée33-135/+135
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08typoMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08m + make sure we never lose errnoMattias Andrée8-30/+31
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08no more goto failMattias Andrée15-110/+98
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08m docMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08replace all variants of goto pfail with fail_ifMattias Andrée2-16/+11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée10-45/+33
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08whenever fail_if gotos to the failure clause, print whenceMattias Andrée1-2/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mds-kbdc: mark failing test casesMattias Andrée2-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mds-kbdc: compile-layout. bug fixes, test-cases and mark all untested error reportsMattias Andrée16-69/+156
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mds-kbdc: compile-keyboard: regressionMattias Andrée1-4/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mds-kbdc: bug fixMattias Andrée1-6/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-08mds-kbdc: compile-layout: more tested and bug fixesMattias Andrée5-38/+52
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: simplify mds_kbdc_tree_dupMattias Andrée1-38/+36
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: test call to undefined callables and mark the entire macro call if the macro does not existMattias Andrée3-0/+11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: bug fixesMattias Andrée2-32/+39
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: bug fixesMattias Andrée3-14/+12
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07... derpMattias Andrée1-12/+12
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07m derpMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-keyboard: ,:s in < > are not special when inside quotesMattias Andrée1-3/+11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: support " in < >Mattias Andrée1-11/+17
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: fix bug in parsing escapesMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07fail_if supports sequences without being double bracketedMattias Andrée6-53/+53
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07whitespaceMattias Andrée1-3/+3
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: some bug fixes and test casesMattias Andrée9-19/+66
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: compile-layout: add some test cases + file parsing bugMattias Andrée7-5/+37
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: remove a debug outputMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: track side-effectsMattias Andrée1-5/+14
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-07mds-kbdc: parse function callsMattias Andrée3-25/+186
Signed-off-by: Mattias Andrée <maandree@operamail.com>