Rename util.h to file-util.h to reflect its smaller intent.
commit757979b3841b9a4eae096ebe8c4ad143c88276ed
authorEdwin Smith <smith@fb.com>
Sun, 2 Mar 2014 13:41:47 +0000 (2 05:41 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 4 Mar 2014 06:17:02 +0000 (3 22:17 -0800)
treeacf4a1f38a1da92426877bf3d560d2fe2e8cef91
parent32dd18cc36ee7682a8a17b0b0928dcd27cb044b6
Rename util.h to file-util.h to reflect its smaller intent.

Removed references to util.h and added back just the
minimal includes of file-util.h.  Also changed the last
few lingering mentions of the Util namespace to FileUtil,
since removing the namespace entirely would require
new :: qualifiers on some of the posix functions that
collide with names in FileUtil, like mkdir() and rename().

Reviewed By: @jdelong

Differential Revision: D1192454
70 files changed:
hphp/compiler/analysis/constant_table.cpp
hphp/compiler/analysis/emitter.cpp
hphp/compiler/analysis/file_scope.cpp
hphp/compiler/analysis/function_container.cpp
hphp/compiler/analysis/function_scope.cpp
hphp/compiler/analysis/symbol_table.h
hphp/compiler/analysis/variable_table.cpp
hphp/compiler/builtin_symbols.cpp
hphp/compiler/compiler.cpp
hphp/compiler/expression/dynamic_function_call.cpp
hphp/compiler/expression/include_expression.cpp
hphp/compiler/expression/object_method_expression.cpp
hphp/compiler/expression/static_member_expression.cpp
hphp/compiler/package.cpp
hphp/compiler/statement/catch_statement.cpp
hphp/compiler/statement/foreach_statement.cpp
hphp/compiler/statement/function_statement.cpp
hphp/runtime/base/bstring.cpp
hphp/runtime/base/builtin-functions.cpp
hphp/runtime/base/class-info.cpp
hphp/runtime/base/countable.h
hphp/runtime/base/crash-reporter.cpp
hphp/runtime/base/dateinterval.h
hphp/runtime/base/exceptions.h
hphp/runtime/base/file-repository.cpp
hphp/runtime/base/file-stream-wrapper.cpp
hphp/runtime/base/file.cpp
hphp/runtime/base/hphp-array.cpp
hphp/runtime/base/hphp-system.h
hphp/runtime/base/program-functions.cpp
hphp/runtime/base/runtime-option.cpp
hphp/runtime/base/ssl-socket.cpp
hphp/runtime/base/stat-cache.cpp
hphp/runtime/base/type-variant.cpp
hphp/runtime/debugger/debugger.cpp
hphp/runtime/ext/ext_class.cpp
hphp/runtime/ext/ext_file.cpp
hphp/runtime/ext/ext_function.cpp
hphp/runtime/server/access-log.cpp
hphp/runtime/server/access-log.h
hphp/runtime/server/admin-request-handler.cpp
hphp/runtime/server/fastcgi/fastcgi-transport.cpp
hphp/runtime/server/http-server.cpp
hphp/runtime/server/libevent-transport.cpp
hphp/runtime/server/request-uri.cpp
hphp/runtime/server/server-name-indication.cpp
hphp/runtime/server/server-stats.h
hphp/runtime/server/static-content-cache.cpp
hphp/runtime/vm/bytecode.h
hphp/runtime/vm/class.cpp
hphp/runtime/vm/debugger-hook.cpp
hphp/runtime/vm/func.cpp
hphp/runtime/vm/jit/code-gen-helpers-x64.cpp
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/fixup.h
hphp/runtime/vm/jit/ir-translator.cpp
hphp/runtime/vm/jit/memcpy-x64.cpp
hphp/runtime/vm/jit/target-cache.h
hphp/runtime/vm/jit/translator-x64.cpp
hphp/runtime/vm/name-value-table.h
hphp/runtime/vm/tread-hash-map.h
hphp/runtime/vm/unit.cpp
hphp/system/php/phar/Phar.php
hphp/test/ext/test_code_run.cpp
hphp/test/ext/test_fastcgi.cpp
hphp/test/ext/test_server.cpp
hphp/test/ext/test_util.cpp
hphp/util/file-util.cpp [moved from hphp/util/util.cpp with 90% similarity]
hphp/util/file-util.h [moved from hphp/util/util.h with 87% similarity]
hphp/util/test/bitops.cpp