]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Use only ASCII in source files (#10164)
authorPeter Dillinger <peterd@fb.com>
Wed, 15 Jun 2022 21:44:43 +0000 (14:44 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Jun 2022 21:44:43 +0000 (14:44 -0700)
commit94329ae4ecfcf6a83cef3f06ba07eae191d2507b
treee60279e3804b4627299242e86d488e627719288a
parent9882652b0e2db21974aaa682ef7664c7ebe2f84e
Use only ASCII in source files (#10164)

Summary:
Fix existing usage of non-ASCII and add a check to prevent
future use. Added `-n` option to greps to provide line numbers.

Alternative to https://github.com/facebook/rocksdb/issues/10147

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10164

Test Plan:
used new checker to find & fix cases, manually check
db_bench output is preserved

Reviewed By: akankshamahajan15

Differential Revision: D37148792

Pulled By: pdillinger

fbshipit-source-id: 68c8b57e7ab829369540d532590bf756938855c7
build_tools/check-sources.sh
tools/db_bench_tool.cc
util/ribbon_alg.h
util/xxhash.h