Sorry if this is too off-topic, but I cannot figure out a reliable way
to contact the author of nosh [1], so I put it here in the hope that the
author may notice this:
diff -ur nosh-1.9/source/recordio.cpp nosh-1.9/source/recordio.cpp
--- nosh-1.9/source/recordio.cpp 2013-09-12 16:31:50.000000000 +0800
+++ nosh-1.9/source/recordio.cpp 2014-10-19 10:44:42.015411320 +0800
_at_@ -44,7 +44,7 @@
else
while (len) {
std::fprintf(stderr, "%u: %c ", pid, dir);
- if (const char * nl = static_cast<char *>(std::memchr(ptr, '\n', len))) {
+ if (const char * nl = static_cast<const char *>(std::memchr(ptr, '\n', len))) {
const std::size_t l(nl - ptr);
std::fwrite(ptr, l, 1, stderr);
std::fputc(' ', stderr);
This patch fixes the following compilation error:
> recordio.cpp:47:72: error: static_cast from type 'const void*' to type
> 'char*' casts away qualifiers
[1] His homepage says smtp emails sent to him will probably be dropped:
<
http://homepage.ntlworld.com/jonathan.deboynepollard/contacting-the-author.html>;
and he uses special mailbox for mail lists (which does not seem to
accept non-mail-list messages):
<
https://lists.debian.org/debian-user/2014/09/msg01723.html>.
On Sun, Oct 05, 2014 at 01:06:34PM +0100, Laurent Bercot wrote:
> I will definitely have to study how it's made. Jonathan is crazy, but
> he usually has good design ideas :)
--
My current OpenPGP key:
4096R/0xE18262B5D9BF213A (expires: 2017.1.1)
D69C 1828 2BF2 755D C383 D7B2 E182 62B5 D9BF 213A
Received on Sun Oct 19 2014 - 03:29:38 UTC