Changeset 3cf12c9 in rtems for cpukit


Ignore:
Timestamp:
Oct 18, 2018, 12:11:10 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
87a9900f
Parents:
1ad26cd
git-author:
Sebastian Huber <sebastian.huber@…> (10/18/18 12:11:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/22/18 06:06:05)
Message:

Remove strlcat(), strlcpy(), strsep(), readdir_r()

These functions are provided by Newlib since 2002.

Update #3409.

Location:
cpukit
Files:
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r1ad26cd r3cf12c9  
    203203librtemscpu_a_SOURCES += libcsupport/src/pwdgrp.c
    204204librtemscpu_a_SOURCES += libcsupport/src/read.c
    205 librtemscpu_a_SOURCES += libcsupport/src/readdir_r.c
    206205librtemscpu_a_SOURCES += libcsupport/src/readlink.c
    207206librtemscpu_a_SOURCES += libcsupport/src/readv.c
     
    228227librtemscpu_a_SOURCES += libcsupport/src/stat.c
    229228librtemscpu_a_SOURCES += libcsupport/src/statvfs.c
    230 librtemscpu_a_SOURCES += libcsupport/src/strlcat.c
    231 librtemscpu_a_SOURCES += libcsupport/src/strlcpy.c
    232229librtemscpu_a_SOURCES += libcsupport/src/sup_fs_check_permissions.c
    233230librtemscpu_a_SOURCES += libcsupport/src/sup_fs_deviceio.c
     
    12421239librtemscpu_a_SOURCES += libnetworking/libc/res_update.c
    12431240librtemscpu_a_SOURCES += libnetworking/libc/send.c
    1244 librtemscpu_a_SOURCES += libnetworking/libc/strsep.c
    12451241librtemscpu_a_SOURCES += libnetworking/lib/getprotoby.c
    12461242librtemscpu_a_SOURCES += libnetworking/lib/rtems_bsdnet_ntp.c
  • cpukit/configure.ac

    r1ad26cd r3cf12c9  
    5959# Not really used by this configure script
    6060# FIXME: They should be eliminated if possible.
    61 AC_CHECK_FUNCS([strsep strcasecmp snprintf])
     61AC_CHECK_FUNCS([strcasecmp snprintf])
    6262AC_CHECK_FUNCS([strdup strndup strncasecmp])
    6363AC_CHECK_FUNCS([bcopy bcmp])
     
    6767#   Check for functions supplied by newlib >= 1.17.0
    6868# Newlib's posix/ directory
    69 AC_CHECK_FUNCS([readdir_r isatty])
     69AC_CHECK_FUNCS([isatty])
    7070AC_CHECK_FUNCS([creat \
    7171  opendir closedir readdir rewinddir scandir seekdir \
     
    375375AC_CHECK_DECLS([rcmd],,,[#include <unistd.h>])
    376376
    377 ## Check if libc provides BSD's strlcpy/strlcat
    378 AC_CHECK_FUNCS(strlcpy strlcat)
    379 
    380377## Check if libc provides decl of utime
    381378## FIXME: utime has been deprecated in SUSv4.
Note: See TracChangeset for help on using the changeset viewer.