aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-10-05misc + update e-mailMattias Andrée18-293/+38
Signed-off-by: Mattias Andrée <m@maandree.se>
2017-11-05Work on changing styleMattias Andrée10-2150/+2121
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-11-05Update year and e-mail addressMattias Andrée18-18/+18
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-11-05Work on changing style, and an important typo fixMattias Andrée13-461/+425
Signed-off-by: Mattias Andrée <maandree@kth.se>
2017-03-29close_files: do not close the fd to the dir whilst readingMattias Andrée1-9/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-08-06If send fails with EPIPE, set errno to ECONNRESET insteadMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-15mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Fix probable bufMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Fix bugMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-11Use *_MAX instead of __WORDSIZEMattias Andrée4-23/+18
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-10Fix new GCC warningsMattias Andrée4-3/+36
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-07-09Bump yearMattias Andrée18-18/+18
Signed-off-by: Mattias Andrée <maandree@kth.se>
2015-10-11mMattias Andrée1-2/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-10-11Whilst POSIX leaves it explicitly unspecify whether close(2) closes the fildes on interruption, Linux (and possibly some other kernels) specify ↵Mattias Andrée1-8/+16
that it does close. Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-04add libmds_messageMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-03how did that get thereMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-03info: strendMattias Andrée1-2/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-09-01mds-kbdc: minor optimisationMattias Andrée1-0/+13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-28everything except mds-kkbd and mds-vt compiles with musl; mds-kkbd and mds-vt does not because they require <linux/> headersMattias Andrée2-5/+15
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-25add pkg-config files and soname to libs and versioned so filesMattias Andrée1-0/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-25m + attributesMattias Andrée12-31/+133
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24introduce the `Origin command`-headerMattias Andrée2-19/+32
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24hash-list: styleMattias Andrée1-10/+10
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24style + error messages should include message id + fix buffer overflowMattias Andrée2-40/+33
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24libmdsserver: styleMattias Andrée1-13/+13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24hash list optimisationMattias Andrée1-21/+96
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-24info: construct_error_message and send_errorMattias Andrée1-2/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-23error transmissionsMattias Andrée2-0/+207
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-23signal handlers that return should not modify errnoMattias Andrée1-0/+17
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-22ensure that all PF_ and AF_ aliases exists if any existMattias Andrée1-0/+43
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-22typo + mds-colour: print colour list on SIGINFOMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-21add and use xclose and xfclose, we do not want close or fclose to be ignored because a singal interrupts it.Mattias Andrée1-5/+54
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-20m + info: hash listMattias Andrée1-65/+95
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-19work on mds-colour and list alternative to hash tableMattias Andrée3-2/+486
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-19add strict_ato* for all precise integer types, for size_t, ssize_t, and integer types that have keywordsMattias Andrée2-0/+409
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-19use CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not definedMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-19add strict_atoj and strict_atoujMattias Andrée2-2/+117
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-08-19put full_send in libmdsserver, clients that only has one socket uses a macro to remove the socket parameterMattias Andrée2-0/+37
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-07-12there is no longer any need for prepare_reexec to be canned immediatelyMattias Andrée1-3/+0
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-07-12fix race condition in prepare_reexecMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-04-18m doc + iprint and iprintf macros + siginfo on mds, mds-vt and mds-respawnMattias Andrée1-0/+27
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-04-12document siginfo and add it to macros.hMattias Andrée1-0/+9
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-02-13bump yearMattias Andrée17-17/+17
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-11mMattias Andrée1-0/+13
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-10mMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-10make it easier to track memory allocationsMattias Andrée1-3/+101
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-10add xmemdup macroMattias Andrée5-54/+29
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-10no more direct allocations, always use macros, unless using allocaMattias Andrée4-43/+69
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2014-12-10typoMattias Andrée1-2/+2
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>