aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/macros.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* how did that get thereMattias Andrée2015-09-031-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: strendMattias Andrée2015-09-031-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: minor optimisationMattias Andrée2015-09-011-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* signal handlers that return should not modify errnoMattias Andrée2015-08-231-0/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ensure that all PF_ and AF_ aliases exists if any existMattias Andrée2015-08-221-0/+43
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add and use xclose and xfclose, we do not want close or fclose to be ignored because a singal interrupts it.Mattias Andrée2015-08-211-5/+54
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not definedMattias Andrée2015-08-191-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m doc + iprint and iprintf macros + siginfo on mds, mds-vt and mds-respawnMattias Andrée2015-04-181-0/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* document siginfo and add it to macros.hMattias Andrée2015-04-121-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* bump yearMattias Andrée2015-02-131-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-111-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-101-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* make it easier to track memory allocationsMattias Andrée2014-12-101-3/+101
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xmemdup macroMattias Andrée2014-12-101-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-101-2/+49
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-12-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* merge track-errors and resolve conflictMattias Andrée2014-12-091-3/+13
|\ | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make sure errno is not changed during fail_ifMattias Andrée2014-12-091-0/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make exit_if easier on the syntaxMattias Andrée2014-12-091-1/+1
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make fail_if friendlier to complex if-statementsMattias Andrée2014-12-091-4/+4
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalitiesMattias Andrée2014-12-091-3/+9
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * rename pfail to failMattias Andrée2014-12-081-2/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * whenever fail_if gotos to the failure clause, print whenceMattias Andrée2014-12-081-2/+4
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | improve with_mutex and with_mutex_if alsoMattias Andrée2014-12-091-8/+22
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | make some macros easiler on the syntaxMattias Andrée2014-12-091-31/+37
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | typoMattias Andrée2014-12-081-2/+2
|/ | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fail_if supports sequences without being double bracketedMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: m + function callingMattias Andrée2014-12-061-6/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* Starting on some reworkMattias Andrée2014-11-221-0/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + make sure the code ends with a new lineMattias Andrée2014-09-281-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* SIGRTMAX is used internally by valgrindMattias Andrée2014-09-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-17/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-6/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m docMattias Andrée2014-08-251-21/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* if the system is awesome enough to have sigupdate defined, use it instead of sigusr1Mattias Andrée2014-08-241-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add sigdanger supportMattias Andrée2014-08-201-0/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-121-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-08-021-2/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-07-281-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* test and fix mds-respawn + add missed staging: monotonic clock should be rawMattias Andrée2014-06-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* whitespaceMattias Andrée2014-06-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-181-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-0/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>