Code

Use strchrnul() instead of strchr() plus manual workaround
authorJohan Herland <johan@herland.net>
Sat, 27 Sep 2008 22:24:36 +0000 (00:24 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 29 Sep 2008 15:56:26 +0000 (08:56 -0700)
commit94e02e7f3b0504243b364ad04b58332bb1502934
treecf7f4d48d75073724235667f437f72512fbd6311
parent175a494823c1eacd4da9c4a5b90ec0668f7051c0
Use strchrnul() instead of strchr() plus manual workaround

Also gets rid of a C++ comment.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
builtin-for-each-ref.c