sapling/cstore
Jun Wu 05dc0ce236 cdatapack: print path on error
This gives us more context about what pack file is problematic. It's useful
to detect issues like mmapping a 0-sized file.

Test Plan:
Make sure the code compiles without warnings. Run related tests.

```
  make local
  rt test-cstore.t
```

Make sure `setup.py` specifies C99 so variable length array is available.

Differential Revision: https://phab.mercurial-scm.org/D1125
2017-11-01 11:49:13 -07:00
..
bitmanipulation.h clib: simplify include paths in C extensions 2017-08-25 16:46:07 -07:00
compat.h cstore: add mpatch code from core 2017-02-23 14:03:03 -08:00
datapackstore.cpp cstore: extend and refactor deltachain class 2017-09-07 08:07:30 -07:00
datapackstore.h cstore: generic uniondatapackstore 2017-08-30 11:37:25 -07:00
datastore.h cstore: extend and refactor deltachain class 2017-09-07 08:07:30 -07:00
deltachain.cpp cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
deltachain.h cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
key.h clib: clean up include guards in the C/C++ header files 2017-08-25 16:46:07 -07:00
match.h clib: apply clang-tidy fixes to C/C++ code 2017-08-25 16:46:07 -07:00
mpatch.c clib: simplify include paths in C extensions 2017-08-25 16:46:07 -07:00
mpatch.h clib: simplify include paths in C extensions 2017-08-25 16:46:07 -07:00
py-cdatapack.h cdatapack: print path on error 2017-11-01 11:49:13 -07:00
py-cstore.cpp clib: update C/C++ copyright statements to pass lint checks 2017-08-25 16:46:07 -07:00
py-datapackstore.h cstore: py-datapackstore build bug fix 2017-09-11 11:24:38 -07:00
py-structs.h cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
py-treemanifest.h clib: clean up include guards in the C/C++ header files 2017-08-25 16:46:07 -07:00
pythondatastore.cpp cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
pythondatastore.h cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
pythonkeyiterator.h cstore: uniondatapackstore support for python stores 2017-09-11 09:23:10 -07:00
pythonutil.cpp clib: update C/C++ copyright statements to pass lint checks 2017-08-25 16:46:07 -07:00
pythonutil.h clib: clean up include guards in the C/C++ header files 2017-08-25 16:46:07 -07:00
store.h clib: clean up include guards in the C/C++ header files 2017-08-25 16:46:07 -07:00
uniondatapackstore.cpp cstore: extend and refactor deltachain class 2017-09-07 08:07:30 -07:00
uniondatapackstore.h cstore: generic uniondatapackstore 2017-08-30 11:37:25 -07:00