qemu-e2k/util
Olga Krishtal 459db780be utils: drop strtok_r from envlist_parse
The problem is that mingw 4.9.1 fails to compile the code with the
following warning:

/mingw/include/string.h:88:9: note: previous declaration of 'strtok_r'
was here
   char *strtok_r(char * __restrict__ _Str,
                  const char * __restrict__ _Delim,
                  char ** __restrict__ __last);
/include/sysemu/os-win32.h:83:7: warning: redundant redeclaration of
   'strtok_r' [-Wredundant-decls]
   char *strtok_r(char *str, const char *delim, char **saveptr);

The problem is that compiles just fine on previous versions of mingw.
Compiler version check here is not a good idea. Though fortunately
strtok_r is used only once in the code and we could simply rewrite
the code without it.

Signed-off-by: Olga Krishtal <okrishtal@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Eric Blake <eblake@redhat.com>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-02-16 16:20:02 -06:00
..
acl.c
aes.c aes: remove a dead return statement 2015-02-10 09:27:20 +03:00
bitmap.c
bitops.c
compatfd.c
crc32c.c
cutils.c
envlist.c utils: drop strtok_r from envlist_parse 2015-02-16 16:20:02 -06:00
error.c
event_notifier-posix.c
event_notifier-win32.c build: move libqemuutil.a components to util/ 2013-01-12 18:42:50 +01:00
fifo8.c
getauxval.c
hbitmap.c
hexdump.c
host-utils.c
id.c
iov.c
Makefile.objs rcu: add rcu library 2015-02-02 16:55:10 +01:00
module.c
notify.c
osdep.c
oslib-posix.c
oslib-win32.c
path.c
qemu-config.c
qemu-error.c
qemu-openpty.c
qemu-option.c qemu-option: Pair g_malloc() with g_free(), not free() 2015-02-10 09:27:20 +03:00
qemu-progress.c
qemu-sockets.c qemu-sockets: Fix buffer overflow in inet_parse() 2015-02-10 09:27:20 +03:00
qemu-thread-posix.c qemu-thread: fix qemu_event without futexes 2015-02-02 16:55:09 +01:00
qemu-thread-win32.c qemu-thread: add per-thread atexit functions 2015-01-13 13:43:29 +00:00
qemu-timer-common.c
rcu.c rcu: add call_rcu 2015-02-02 16:55:10 +01:00
readline.c
rfifolock.c
throttle.c
unicode.c
uri.c util/uri: URI member path can be null, compare more carfully 2015-02-10 09:27:20 +03:00