summaryrefslogtreecommitdiff
path: root/lib/common/FileStream.h
Commit message (Collapse)AuthorAge
* Add a ToString method to IOStream and some subclasses.Chris Wilson2014-04-29
| | | | | Useful to help debug problems such as invalid file headers when the source of the stream might not be too obvious.
* Move definition of INVALID_HANDLE_VALUE and tOSFileHandle toChris Wilson2009-04-26
| | | | | BoxPlatform.h, to make them available in other files.
* Move stream comparison code out of BackupQueries::Compare to Chris Wilson2009-01-04
| | | | | FileStream class.
* Remove #ifdef WIN32 as we now define O_BINARY to 0 on Unixes, soChris Wilson2008-09-26
| | | | | the same code can be used for both.
* Fix test regression on Windows where a const char pointer was treatedChris Wilson2008-09-07
| | | | | as a file handle instead of as a string.
* Change FileStream constructor to take a const std::string& instead of a Chris Wilson2008-08-21
| | | | | char array pointer, for C++ style.
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment.
* Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32.Chris Wilson2006-10-27
|
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12
|
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14