aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver/util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-081-21/+20
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* rename pfail to failMattias Andrée2014-12-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more goto failMattias Andrée2014-12-081-3/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add verify_utf8Mattias Andrée2014-09-201-0/+77
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-08-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-261-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* full_read returns lengthMattias Andrée2014-08-231-14/+19
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-08-121-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* macros for ato* with castMattias Andrée2014-08-121-3/+2
| | | | 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-111-11/+46
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add fork_for_safety option + beginning of kernel-based keyboardMattias Andrée2014-08-111-0/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the rest of the clipboardMattias Andrée2014-08-031-0/+25
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* beginning of mds-respawnMattias Andrée2014-06-071-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* reduce code complexityMattias Andrée2014-05-181-2/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-05-161-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix dumb-client and memory errorsMattias Andrée2014-05-141-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m fixMattias Andrée2014-05-121-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + add full_write and add full_readMattias Andrée2014-05-081-0/+72
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use more macros and do not du null-check before free:ing, free does that for usMattias Andrée2014-05-071-0/+27
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* derpMattias Andrée2014-05-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* miscMattias Andrée2014-05-071-0/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xsigactionMattias Andrée2014-05-061-0/+26
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add util.cMattias Andrée2014-05-061-0/+82
Signed-off-by: Mattias Andrée <maandree@operamail.com>