Signed-off-by: Alejandro Colomar <alx@kernel.org>
15 files changed:
stpecpy.h \
stpeprintf.c \
stpeprintf.h \
- strlcpy.h \
+ strtcpy.h \
strtoday.c \
sub.c \
subordinateio.h \
#include <stdio.h>
#include "getdef.h"
#include "prototypes.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
#ident "$Id$"
#ident "$Id$"
-#include "strlcpy.h"
+#include "strtcpy.h"
extern inline ssize_t strtcpy(char *restrict dst, const char *restrict src,
#include "alloc.h"
#include "sizeof.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
#include "zustr2stp.h"
#ident "$Id$"
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
#ifdef WITH_TCB
#include "tcbfuncs.h"
#endif
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
/*
* Global variables.
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
#ifndef SHELLS_FILE
#define SHELLS_FILE "/etc/shells"
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
/*
* Global variables
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
#ifdef USE_PAM
#include "pam_defs.h"
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
/*
* exit status values
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
/*
* Global variables
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
/*
* Global variables
TESTS = $(check_PROGRAMS)
check_PROGRAMS = \
- test_strlcpy \
+ test_strtcpy \
test_xasprintf
if ENABLE_LOGIND
$(LIBSYSTEMD) \
$(NULL)
-test_strlcpy_SOURCES = \
- ../../lib/strlcpy.c \
- test_strlcpy.c \
+test_strtcpy_SOURCES = \
+ ../../lib/strtcpy.c \
+ test_strtcpy.c \
$(NULL)
-test_strlcpy_CFLAGS = \
+test_strtcpy_CFLAGS = \
$(AM_FLAGS) \
$(NULL)
-test_strlcpy_LDFLAGS = \
+test_strtcpy_LDFLAGS = \
$(NULL)
-test_strlcpy_LDADD = \
+test_strtcpy_LDADD = \
$(CMOCKA_LIBS) \
$(NULL)
#include <cmocka.h>
#include "sizeof.h"
-#include "strlcpy.h"
+#include "strtcpy.h"
static void test_STRTCPY_trunc(void **state);