aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add strict_ato* for all precise integer types, for size_t, ssize_t, and integer types that have keywordsMattias Andrée2015-08-192-0/+409
| | | | 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>
* add strict_atoj and strict_atoujMattias Andrée2015-08-192-2/+117
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* put full_send in libmdsserver, clients that only has one socket uses a macro to remove the socket parameterMattias Andrée2015-08-192-0/+37
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* there is no longer any need for prepare_reexec to be canned immediatelyMattias Andrée2015-07-121-3/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix race condition in prepare_reexecMattias Andrée2015-07-121-0/+4
| | | | 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-1317-17/+17
| | | | 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-105-54/+29
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-104-43/+69
| | | | 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-097-106/+135
|\ | | | | | | 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>
| * with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-086-84/+99
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * rename pfail to failMattias Andrée2014-12-085-7/+7
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * m + make sure we never lose errnoMattias Andrée2014-12-082-3/+9
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * no more goto failMattias Andrée2014-12-083-19/+17
| | | | | | | | 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-092-42/+43
| | | | | | | | 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>
* make derp + sed config.hMattias Andrée2014-09-261-74/+26
| | | | 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>
* verify that headers in messages are encoded with proper utf-8Mattias Andrée2014-09-201-1/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add verify_utf8Mattias Andrée2014-09-202-1/+87
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* doc style fixMattias Andrée2014-09-138-11/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-09-122-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* create and export process groupMattias Andrée2014-08-311-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + info: mds_message_tMattias Andrée2014-08-291-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + info: tablesMattias Andrée2014-08-293-7/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-08-292-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-08-262-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-262-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-251-0/+48
| | | | 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>