Commit Graph

23 Commits (3190dae731cf658ffd17c0c275ccee1a044e0a42)

Author SHA1 Message Date
Philippe Pittoli 3190dae731 Allow cross-compilation. 2024-03-21 13:02:02 +01:00
Philippe Pittoli d441b3bf88 Fix all const values marked as "variables". 2024-03-21 02:53:25 +01:00
Philippe Pittoli aa6bc4952e Store current fd to avoid conflict. 2023-07-01 15:35:47 +02:00
Philippe Pittoli 0d74c82e7c Update to new Zig API (0.11.0-dev.3892+0a6cd257b). 2023-07-01 13:43:41 +02:00
Philippe Pittoli 8ca93de58a API change for FS (.lock = .exclusive). 2023-06-03 03:27:56 +02:00
Philippe Pittoli efd7584ce5 Add a way to print sent messages (in comments). 2023-05-27 04:30:20 +02:00
Philippe Pittoli a43c8bd6d3 From std.mem.set to @memset. 2023-05-24 01:33:11 +02:00
Philippe Pittoli 9d4f5b3cab End the connection when reading a wrong message length. 2023-05-15 10:13:01 +02:00
Philippe Pittoli 5807ea51bd BrokenPipe is now considered as a disconnection. 2023-05-15 09:21:02 +02:00
Philippe Pittoli bc4c54f624 Manage disconnection (BrokenPipe) error while sending a message. 2023-05-15 09:12:32 +02:00
Philippe Pittoli 527049ed3d Following the new Zig std. 2023-05-03 03:21:30 +02:00
Philippe Pittoli 2f369adfef Makefile: build documentation. 2023-04-22 15:49:19 +02:00
Philippe Pittoli c345cd605d Add file lock to prevent running a service twice and remove old socket. 2023-02-15 15:12:09 +01:00
Philippe Pittoli 77123ac649 TODO: handle signals through the self-pipe trick. 2023-02-15 11:06:20 +01:00
Philippe Pittoli e181f54bb4 Create the rundir, umask (mkdir + Unix sockets), use fmt.bufPrint. 2023-02-14 19:16:07 +01:00
Philippe Pittoli 2e192aef1b umask: enable group write perms, prevent other (rwx) perms. 2023-02-13 22:09:57 +01:00
Philippe Pittoli b446c98518 Add a makefile (build, install, serve-doc, dist). 2023-02-08 12:05:03 +01:00
Philippe Pittoli 70c062a598 Code style using 'zig fmt'. 2023-02-07 07:47:00 +01:00
Philippe Pittoli 5ca55f0525 TODO: put the error message in a code block. 2023-02-06 14:44:33 +01:00
Philippe Pittoli fc81cbddc8 Add README. 2023-02-06 14:38:58 +01:00
Philippe Pittoli 64506bbee0 Exchange-fd: fix a compilation issue (msghdr_const structure). 2023-02-06 14:15:48 +01:00
Philippe Pittoli c5f6729c71 Add TODO.md. 2023-02-06 10:48:45 +01:00
Philippe Pittoli 721d8842c5 Initial commit. Old commit history: https://git.baguette.netlib.re/Baguette/libipc-old 2023-02-06 10:44:51 +01:00