use STREQ, not strcmp: part 1
authorJim Meyering <meyering@redhat.com>
Mon, 9 Nov 2009 13:30:11 +0000 (14:30 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Nov 2009 21:34:16 +0000 (22:34 +0100)
commit9a8889e4d0c532b9f77af3a9cc7aae06adebfb83
treee2d7910ea5b028ed2628b8006f209eea843458e5
parent3e70b34eed5a48640e20fbf6dcba774aaace1f3c
use STREQ, not strcmp: part 1

git grep -l 'strcmp *([^=]*== *0'|xargs \
  perl -pi -e 's/\bstrcmp( *\(.*?\)) *== *0/STREQ$1/g'
19 files changed:
capitests/test-command.c
daemon/debug.c
daemon/dir.c
daemon/ext2.c
daemon/file.c
daemon/guestfsd.c
daemon/ls.c
daemon/mkfs.c
daemon/mount.c
daemon/xattr.c
examples/to-xml.c
fish/destpaths.c
fish/fish.c
fuse/dircache.c
fuse/guestmount.c
hivex/hivex.c
src/generator.ml
src/guestfs.c
test-tool/test-tool.c