]> code.delx.au - pulseaudio/commitdiff
module: Replace rindex() with strrchr()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 27 Jan 2014 19:00:58 +0000 (21:00 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 27 Jan 2014 19:00:58 +0000 (21:00 +0200)
rindex() appears to be "non-standard" to an extent, and it caused a
build failure on mingw32.

From the man page of rindex(): "POSIX.1-2008 removes the
specifications of index() and rindex(), recommending strchr(3) and
strrchr(3) instead."


No differences found