Jim Meyering
3ce465f819
Don't fail to read a file because it's non-seekable (e.g., a pipe).
...
* src/util.c (fread_file_lim): New function.
(__virFileReadAll): Use fread_file_lim, rather than requiring
that stat.st_size provide a usable file size.
* tests/read-non-seekable: New test, for the above.
* tests/Makefile.am (test_scripts): Add read-non-seekable.
* tests/test-lib.sh (mkfifo_or_skip_): New helper function.
2008-04-08 15:33:16 +00:00
..
2008-03-17 10:27:31 +00:00
2007-12-05 21:31:07 +00:00
2007-09-13 22:06:54 +00:00
2008-02-05 16:21:25 +00:00
2007-01-26 13:10:28 +00:00
2008-02-27 04:35:08 +00:00
2007-08-09 20:19:12 +00:00
2008-02-05 16:21:25 +00:00
2008-01-29 18:36:00 +00:00
2008-01-29 18:15:54 +00:00
2007-12-11 21:20:13 +00:00
2007-11-12 14:07:37 +00:00
2008-04-08 15:33:16 +00:00
2008-01-29 18:15:54 +00:00
2008-02-27 04:35:08 +00:00
2008-02-27 04:35:08 +00:00
2008-04-08 15:33:16 +00:00
2008-02-05 19:27:37 +00:00
2008-02-05 16:21:25 +00:00
2008-02-22 12:33:47 +00:00
2008-02-05 19:27:37 +00:00
2006-05-09 15:35:46 +00:00
2008-04-08 15:33:16 +00:00
2008-01-29 18:15:54 +00:00
2008-02-05 19:27:37 +00:00
2008-04-07 12:12:34 +00:00
2008-02-05 19:27:37 +00:00
2008-02-27 04:35:08 +00:00
2008-01-29 18:15:54 +00:00
2008-02-05 19:27:37 +00:00
2006-05-09 15:35:46 +00:00
2008-02-07 16:49:29 +00:00