Changeset 34b5bdb6 in rtems


Ignore:
Timestamp:
Mar 25, 2003, 8:48:35 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6ea9196
Parents:
a281b95
Message:

Merger from rtems-4-6-branch.

Location:
cpukit/libcsupport
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    ra281b95 r34b5bdb6  
     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

    ra281b95 r34b5bdb6  
    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

    ra281b95 r34b5bdb6  
    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.