]> code.delx.au - pulseaudio/commit
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)
commiteab0544f230ae4d89d139a9a7af1a7281c40689a
tree9c3e0d090cd9b93937950038652dcb9ee91f34a2
parent588af08d254b9b02b9a2caf9e1d11f1008777dae
module: Replace rindex() with strrchr()

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."
src/pulsecore/module.c