citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 8dcc0a560ffbcf517321123dce909722f2613f73
parent 997286944a95701936651aaea6ae7c9c100febbe
Author: Kyle Milz <kyle@windows.krwm.net>
Date:   Wed,  4 Jan 2017 20:41:44 -0800

lib: use strcpy for fixed size string

Diffstat:
Mlib.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib.c b/lib.c @@ -117,7 +117,7 @@ add_header() strlcpy(header->progname, getprogname(), sizeof(header->progname)); if (getcwd(header->cwd, sizeof(header->cwd)) == NULL) - strlcpy(header->cwd, "<none>", 7); + strcpy(header->cwd, ""); atexit(set_exited); }