mailing list of musl libc
 help / color / mirror / code / Atom feed
cbede51fb4f355efe1330faff5bd4a989716cfe8 blob 181 bytes (raw)

1
2
3
4
5
6
7
8
 
#include <unistd.h>
#include "atomic.h"

int __ttyname_r_chk(int fd, char *name, size_t size, size_t namelen)
{
	if (size > namelen) a_crash();
	return ttyname_r(fd, name, size);
}
debug log:

solving cbede51 ...
found cbede51 in https://inbox.vuxu.org/musl/20150831011011.GA2232@newbook/ ||
	https://inbox.vuxu.org/musl/20150701142106.GA1829@newbook/
found 50e70e5 in https://inbox.vuxu.org/musl/1434509291-28997-1-git-send-email-josiahw@gmail.com/

applying [1/3] https://inbox.vuxu.org/musl/1434509291-28997-1-git-send-email-josiahw@gmail.com/
diff --git a/src/compat/ttyname_r_chk.c b/src/compat/ttyname_r_chk.c
new file mode 100644
index 0000000..50e70e5


applying [2/3] https://inbox.vuxu.org/musl/20150831011011.GA2232@newbook/
diff --git a/src/compat/ttyname_r_chk.c b/src/compat/ttyname_r_chk.c
index 50e70e5..cbede51 100644

Checking patch src/compat/ttyname_r_chk.c...
Applied patch src/compat/ttyname_r_chk.c cleanly.
Checking patch src/compat/ttyname_r_chk.c...
Applied patch src/compat/ttyname_r_chk.c cleanly.

skipping https://inbox.vuxu.org/musl/20150701142106.GA1829@newbook/ for cbede51
index at:
100644 cbede51fb4f355efe1330faff5bd4a989716cfe8	src/compat/ttyname_r_chk.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).