- Based on Fedor Karpelevitch's formpost path basename patch, file parts in

formposts no longer include the path part. If you _really_ want them, you
  must provide your preferred full file name with CURLFORM_FILENAME.

  Added detection for libgen.h and basename() to configure. My custom
  basename() replacement function for systems without it, might be a bit too
  naive...

  Updated 6 test cases to make them work with the stripped paths.
This commit is contained in:
Daniel Stenberg
2004-10-01 06:36:11 +00:00
parent be1cece69b
commit 8e87223195
10 changed files with 103 additions and 15 deletions

View File

@@ -1115,6 +1115,7 @@ AC_CHECK_HEADERS(
utime.h \
sys/utime.h \
sys/poll.h \
libgen.h \
setjmp.h,
dnl to do if not found
[],
@@ -1197,6 +1198,7 @@ AC_CHECK_FUNCS( strtoll \
dlopen \
utime \
sigsetjmp \
basename \
poll,
dnl if found
[],