aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-04-18 12:53:17 +0100
committerRon Yorston <rmy@pobox.com>2012-04-18 12:53:17 +0100
commite976c5d081b35b5ee60ed755ec5ddca7c326d9c1 (patch)
treee95cd41bbff995be3ee70f292756f791e975e8be /win32
parent8a1fde26fa09f25b1c52913ed1155d34a41f17e3 (diff)
downloadbusybox-w32-e976c5d081b35b5ee60ed755ec5ddca7c326d9c1.tar.gz
busybox-w32-e976c5d081b35b5ee60ed755ec5ddca7c326d9c1.tar.bz2
busybox-w32-e976c5d081b35b5ee60ed755ec5ddca7c326d9c1.zip
strsep is in upstream BusyBox: no need for MINGW32 version
Diffstat (limited to 'win32')
-rw-r--r--win32/mingw.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index c9b00bbcd..b99c88444 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -654,24 +654,6 @@ int link(const char *oldpath, const char *newpath)
654 return 0; 654 return 0;
655} 655}
656 656
657char *strsep(char **stringp, const char *delim)
658{
659 char *s, *old_stringp;
660 if (!*stringp)
661 return NULL;
662 old_stringp = s = *stringp;
663 while (*s) {
664 if (strchr(delim, *s)) {
665 *s = '\0';
666 *stringp = s+1;
667 return old_stringp;
668 }
669 s++;
670 }
671 *stringp = NULL;
672 return old_stringp;
673}
674
675char *realpath(const char *path, char *resolved_path) 657char *realpath(const char *path, char *resolved_path)
676{ 658{
677 /* FIXME: need normalization */ 659 /* FIXME: need normalization */