Changeset 8114f30 in rtems


Ignore:
Timestamp:
Mar 19, 2003, 12:49:15 AM (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
ccb739c
Parents:
49f02ff
Message:

2003-03-18 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_CHECK_FUNCS(strlcpy strlcat).
  • src/strlcat.c: New (extracted from pppd/utils.c).
  • src/strlcpy.c: New (extracted from pppd/utils.c).
  • Makefile.am: Add BSD_C_FILES, strlcat.c, strlcpy.c.
Location:
cpukit/libcsupport
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r49f02ff r8114f30  
     12003-03-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * configure.ac: AC_CHECK_FUNCS(strlcpy strlcat).
     4        * src/strlcat.c: New (extracted from pppd/utils.c).
     5        * src/strlcpy.c: New (extracted from pppd/utils.c).
     6        * Makefile.am: Add BSD_C_FILES, strlcat.c, strlcpy.c.
     7
    182003-03-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • cpukit/libcsupport/Makefile.am

    r49f02ff r8114f30  
    134134UNIX_LIBC_C_FILES = src/unixlibc.c src/hosterr.c
    135135
    136 COMMON_C_FILES = src/gxx_wrappers.c src/printk.c $(BASE_FS_C_FILES) \
     136BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c
     137
     138COMMON_C_FILES = src/gxx_wrappers.c src/printk.c \
     139    $(BSD_LIBC_C_FILES) \
     140    $(BASE_FS_C_FILES) \
    137141    $(MALLOC_C_FILES) $(TERMIOS_C_FILES) $(ERROR_C_FILES) \
    138142    $(ASSOCIATION_C_FILES)
  • cpukit/libcsupport/configure.ac

    r49f02ff r8114f30  
    7272AC_CHECK_DECLS([sbrk],,,[#include <unistd.h>])
    7373
     74## Check if libc provides BSD's strlcpy/strlcat
     75AC_CHECK_FUNCS(strlcpy strlcat)
     76
    7477AM_CONDITIONAL([NEED_SYS_CDEFS_H],[test x"$NEED_SYS_CDEFS_H" = x"yes"])
    7578
Note: See TracChangeset for help on using the changeset viewer.