aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* 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>
* m + do not any assumtion of int typedefsMattias Andrée2014-08-243-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* full_read returns lengthMattias Andrée2014-08-232-17/+23
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of mds-vtMattias Andrée2014-08-221-0/+16
| | | | 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>
* typoMattias Andrée2014-08-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-122-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix tabulationMattias Andrée2014-08-121-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-124-4/+163
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the kernel messes with /proc/*/exe (security precaution?), so we read /proc/self/exec when we start the serverMattias Andrée2014-08-112-11/+70
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-112-0/+51
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the rest of the clipboardMattias Andrée2014-08-032-0/+34
| | | | 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>
* miscMattias Andrée2014-08-021-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* unregister protocols for closing serversMattias Andrée2014-07-282-1/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>