]> arthur.barton.de Git - bup.git/commit
Replace use of index() with strchr
authorMuh Muhten <muh.muhten@gmail.com>
Thu, 27 Jan 2022 23:06:35 +0000 (18:06 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 1 May 2022 16:05:20 +0000 (11:05 -0500)
commit5a408ec4cf93d1d6800f49e251692724f1ee0fa1
tree64f0ccf84996c19ce68a39ba1968d7b4df123afc
parent37b8e2e3baf0b6b9900d7a60959d2da006ee3c61
Replace use of index() with strchr

index() is a legacy string function formerly "equivalent to strchr", now
omitted from POSIX. This fixes builds on some newer libcs.

Signed-off-by: Muh Muhten <muh.muhten@gmail.com>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/cmd/bup.c