Sylvain, Good job for getting this working. I'm a believer that suckless indirectly speaks to API design in addition to software design. There are many parts of libc that suck, IMO. Years ago, when I found Felix von Leitner's talk about software design [0], and dietlibc [1], and libdjb [2], and libowfat [3], I became curious about exploring other runtimes for C [4][5][6][7][8][9]. Keep applying your ulinux runtime.
[0] https://www.fefe.de/dietlibc/diet.pdf [1] https://www.fefe.de/dietlibc/ [2] https://www.fefe.de/djb/ [3] https://www.fefe.de/libowfat/ [4] https://github.com/lpsantil/rt0 [5] https://github.com/lunixbochs/lib43 [6] https://gist.github.com/lpsantil/99cddf60ad6c8ae8756f [7] http://www.erik-n.net/studies/linux_boot_c/linux_boot_c.pdf [8] https://blogs.oracle.com/ksplice/entry/hello_from_a_libc_free [9] http://c0.typesafety.net/tutorial/Strings.html On Thu, Jun 9, 2016 at 6:09 PM, Sylvain BERTRAND <sylvain.bertr...@gmail.com> wrote: > On Thu, Jun 09, 2016 at 07:18:21PM +0200, Markus Wichmann wrote: >> 3. smtp_line_send() can't handle short writes, because the pointer that >> is handed in as second argument to write() is never advanced... > > Fixed. > > Thx! > > -- > Sylvain >