shell.c \
sizeof.h \
spawn.c \
- sprintf.c \
- sprintf.h \
sssd.c \
sssd.h \
- stpecpy.c \
- stpecpy.h \
- stpeprintf.c \
- stpeprintf.h \
- strncpy.h \
- strtcpy.c \
- strtcpy.h \
+ string/sprintf.c \
+ string/sprintf.h \
+ string/stpecpy.c \
+ string/stpecpy.h \
+ string/stpeprintf.c \
+ string/stpeprintf.h \
+ string/strncpy.h \
+ string/strtcpy.c \
+ string/strtcpy.h \
+ string/zustr2stp.c \
+ string/zustr2stp.h \
strtoday.c \
sub.c \
subordinateio.h \
xgetgrnam.c \
xgetgrgid.c \
xgetspnam.c \
- yesno.c \
- zustr2stp.c \
- zustr2stp.h
+ yesno.c
if WITH_TCB
libshadow_la_SOURCES += tcbfuncs.c tcbfuncs.h
#include <stdio.h>
#include "getdef.h"
#include "prototypes.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#ident "$Id$"
#include <attr/libattr.h>
#endif /* WITH_ATTR */
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
static /*@null@*/const char *src_orig;
#ident "$Id$"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#include "prototypes.h"
#include "prototypes.h"
#include "defines.h"
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
/*
#include "failure.h"
#include "memzero.h"
#include "prototypes.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#define YEAR (365L*DAY)
#include "alloc.h"
#include "getdef.h"
#include "shadowlog_internal.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
/*
#include "alloc.h"
#include "prototypes.h"
-#include "stpeprintf.h"
+#include "string/stpeprintf.h"
#include "idmapping.h"
#if HAVE_SYS_CAPABILITY_H
#include <sys/prctl.h>
#include <lastlog.h>
#include "memzero.h"
#include "prototypes.h"
-#include "strncpy.h"
-#include "strtcpy.h"
+#include "string/strncpy.h"
+#include "string/strtcpy.h"
/*
#include "alloc.h"
#include "getdef.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
#ident "$Id$"
#endif /* ENABLE_SUBIDS */
#include "getdef.h"
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
static char *passwd_db_file = NULL;
#include <pwd.h>
#include "getdef.h"
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
#ifndef USE_PAM
#ident "$Id$"
-#include "sprintf.h"
+#include "string/sprintf.h"
#include <stdarg.h>
#include <stddef.h>
#ident "$Id$"
-#include "stpecpy.h"
+#include "string/stpecpy.h"
extern inline char *stpecpy(char *dst, char *end, const char *restrict src);
#ident "$Id$"
-#include "stpeprintf.h"
+#include "string/stpeprintf.h"
#include <stdarg.h>
#ident "$Id$"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
extern inline ssize_t strtcpy(char *restrict dst, const char *restrict src,
#ident "$Id$"
-#include "zustr2stp.h"
+#include "string/zustr2stp.h"
extern inline char *zustr2stp(char *restrict dst, const char *restrict src,
#include "alloc.h"
#include "sizeof.h"
-#include "strtcpy.h"
-#include "strncpy.h"
-#include "zustr2stp.h"
+#include "string/strncpy.h"
+#include "string/strtcpy.h"
+#include "string/zustr2stp.h"
#ident "$Id$"
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#ifdef WITH_TCB
#include "tcbfuncs.h"
#endif
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
/*
* Global variables.
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#ifndef SHELLS_FILE
#define SHELLS_FILE "/etc/shells"
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
/*
* Global variables
#include "sgroupio.h"
#endif
#include "shadowlog.h"
-#include "stpecpy.h"
-#include "stpeprintf.h"
+#include "string/stpecpy.h"
+#include "string/stpeprintf.h"
/*
* exit status values
*/
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
#ifdef USE_PAM
#include "pam_defs.h"
#include "prototypes.h"
#include "shadowlog.h"
#include "sizeof.h"
-#include "zustr2stp.h"
+#include "string/zustr2stp.h"
/*
* Global variables
*/
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
/*
* exit status values
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
/*
* Global variables
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
/*
* Global variables
#include "tcbfuncs.h"
#endif
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
#ifndef SKEL_DIR
#include "subordinateio.h"
#endif /* ENABLE_SUBIDS */
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
/*
#include "tcbfuncs.h"
#endif
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
/*
#include "tcbfuncs.h"
#endif /* WITH_TCB */
#include "shadowlog.h"
-#include "sprintf.h"
+#include "string/sprintf.h"
#define MSG_WARN_EDIT_OTHER_FILE _( \
$(NULL)
test_strtcpy_SOURCES = \
- ../../lib/strtcpy.c \
+ ../../lib/string/strtcpy.c \
test_strtcpy.c \
$(NULL)
test_strtcpy_CFLAGS = \
$(NULL)
test_xasprintf_SOURCES = \
- ../../lib/sprintf.c \
+ ../../lib/string/sprintf.c \
test_xasprintf.c \
$(NULL)
test_xasprintf_CFLAGS = \
#include <cmocka.h>
#include "sizeof.h"
-#include "strncpy.h"
+#include "string/strncpy.h"
static void test_STRNCPY_trunc(void **state);
#include <cmocka.h>
#include "sizeof.h"
-#include "strtcpy.h"
+#include "string/strtcpy.h"
static void test_STRTCPY_trunc(void **state);
#include <stdint.h> // Required by <cmocka.h>
#include <cmocka.h>
-#include "sprintf.h"
+#include "string/sprintf.h"
#define assert_unreachable() assert_true(0)