Hi,
please change wall.c. It cuts the hostname because it uses sizeof a
pointer instead of the buffer size which is too short.
--- wall.c 2011-10-11 15:23:47.000000000 +0200
+++ /tmp/wall.c 2014-06-18 12:53:17.440999746 +0200
@@ -221,7 +221,7 @@
where = "somewhere";
warn(_("cannot get tty name"));
}
- gethostname(hostname, sizeof(hostname));
+ gethostname(hostname, sysconf(_SC_HOST_NAME_MAX));
time(&now);
lt = localtime(&now);
Regards,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]