shaka-packager/packager/file
KongQun Yang 9c861d03f7 Report an error when disk is full
Previously packaging completes successfully without any error
or warning.

With the fix, an error will be reported if write fails. It may
appear as "Cannot close file error" as we use threaded IO, which
could delay the error reporting until Close() call, so the user
of the File API needs to make sure Close() returns successfully.

Also fixed a deadlock in threaded_io_file if internal_file->Write
fails.

Fixes #160

Change-Id: I17f945150fb4021d2dcdbe784e557673f53ca583
2017-09-15 22:22:12 +00:00
..
public Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file.cc Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file.h Add support for callback file 2017-09-07 19:26:26 +00:00
callback_file_unittest.cc Add support for callback file 2017-09-07 19:26:26 +00:00
file.cc Report an error when disk is full 2017-09-15 22:22:12 +00:00
file.gyp Add support for callback file 2017-09-07 19:26:26 +00:00
file.h Add support for callback file 2017-09-07 19:26:26 +00:00
file_closer.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_test_util.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_unittest.cc Add support for callback file 2017-09-07 19:26:26 +00:00
file_util.cc Fix file permission issue with manifests 2017-08-01 15:42:55 -07:00
file_util.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
file_util_unittest.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
io_cache.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
io_cache.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
io_cache_unittest.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
local_file.cc Report an error when disk is full 2017-09-15 22:22:12 +00:00
local_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
memory_file.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
memory_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
memory_file_unittest.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
threaded_io_file.cc Report an error when disk is full 2017-09-15 22:22:12 +00:00
threaded_io_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
udp_file.cc Disable IP_MULTICAST_ALL when setting up UDP multicast 2017-07-27 18:02:51 -07:00
udp_file.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
udp_options.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
udp_options.h Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00
udp_options_unittest.cc Move packager/media/file to packager/file 2017-07-17 12:08:28 -07:00