Browse Source

Added stpcpy

Sergey Poznyakoff 21 years ago
parent
commit
7d31c8176c
3 changed files with 5 additions and 0 deletions
  1. 1 0
      bootstrap
  2. 1 0
      configure.ac
  3. 3 0
      lib/Makefile.am

+ 1 - 0
bootstrap

@@ -146,6 +146,7 @@ safe-read
 save-cwd
 savedir
 stdbool
+stpcpy
 strtol
 strtoul
 unlocked-io

+ 1 - 0
configure.ac

@@ -134,6 +134,7 @@ gl_TIME_R
 gl_XALLOC
 gl_XGETCWD
 gl_XSTRTOL
+gl_FUNC_STPCPY
 
 jm_FUNC_FTRUNCATE
 jm_FUNC_GLIBC_UNLOCKED_IO

+ 3 - 0
lib/Makefile.am

@@ -68,6 +68,9 @@ libtar_a_SOURCES += exit.h
 BUILT_SOURCES += $(FNMATCH_H)
 EXTRA_DIST += fnmatch_.h fnmatch_loop.c
 
+# stpcpy
+EXTRA_DIST += stpcpy.c stpcpy.h
+
 # We need the following in order to create an <fnmatch.h> when the system
 # doesn't have one that supports the required API.
 all-local $(lib_OBJECTS): $(FNMATCH_H)