aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar Loo Rong Jie <loorongjie@gmail.com>2018-07-18 00:53:34 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-18 00:55:06 -0700
commit38fa8507198fd0ed8579d0ced1b1349a7dc54c53 (patch)
tree1f5970ef9b4e3d5c1429b989f807249161abe3ba /src/test/shell
parenta22ad80b416e5f603fe9e82ba05f72cf42573f86 (diff)
[singlejar] Change off_t and ssize_t to C standard ptrdiff_t
MSVC does not have `ssize_t` type. MSVC does have `off_t`, but is defined as 32-bit `long` due to legacy reason, this will prevent us from handling large file. Changing `off_t` and `ssize_t` to C standard `ptrdiff_t` for portability and consistency. Changing one instance of `S_ISDIR(st.st_mode)` to `(st.st_mode & S_IFDIR) == S_IFDIR` as MSVC does not have `S_ISDIR` macro. /cc @laszlocsomor Closes #5538. PiperOrigin-RevId: 205038203
Diffstat (limited to 'src/test/shell')
0 files changed, 0 insertions, 0 deletions