git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d383c23) | patch
Standardize treatment of strcmp() return value
2011年12月27日 19:19:09 +0000 (21:19 +0200)
2011年12月27日 19:19:09 +0000 (21:19 +0200)
commit 037a82704ce644e2b1c3946345b54444caddb1a5
Standardize treatment of strcmp() return value

Always compare the return value to 0, don't use cute tricks like
if (!strcmp(...)).
27 files changed:
contrib/fuzzystrmatch/dmetaphone.c diff | blob | blame | history
contrib/isn/isn.c diff | blob | blame | history
contrib/pgbench/pgbench.c diff | blob | blame | history
contrib/pgcrypto/crypt-md5.c diff | blob | blame | history
contrib/pgcrypto/internal.c diff | blob | blame | history
contrib/pgcrypto/openssl.c diff | blob | blame | history
contrib/pgcrypto/px-crypt.c diff | blob | blame | history
contrib/pgcrypto/px.c diff | blob | blame | history
src/backend/libpq/auth.c diff | blob | blame | history
src/backend/utils/adt/formatting.c diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_basebackup/pg_receivexlog.c diff | blob | blame | history
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/interfaces/ecpg/ecpglib/data.c diff | blob | blame | history
src/interfaces/ecpg/ecpglib/descriptor.c diff | blob | blame | history
src/interfaces/ecpg/ecpglib/execute.c diff | blob | blame | history
src/interfaces/ecpg/ecpglib/prepare.c diff | blob | blame | history
src/interfaces/ecpg/preproc/descriptor.c diff | blob | blame | history
src/interfaces/ecpg/preproc/ecpg.addons diff | blob | blame | history
src/interfaces/ecpg/preproc/ecpg.header diff | blob | blame | history
src/interfaces/ecpg/preproc/output.c diff | blob | blame | history
src/interfaces/ecpg/preproc/pgc.l diff | blob | blame | history
src/interfaces/ecpg/preproc/type.c diff | blob | blame | history
src/interfaces/ecpg/preproc/variable.c diff | blob | blame | history
src/interfaces/libpq/fe-lobj.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /