gecko-dev/xpcom/io
Jens Stutte 8560eb86e8 Bug 1690326: Map Windows error 0x570 ERROR_FILE_CORRUPT to NS_ERROR_FILE_FS_CORRUPTED r=xpcom-reviewers,janv,nika
While NS_ERROR_FILE_CORRUPTED already exists, it indicates most of the times more a parsing problem of a given file format.
But Windows ERROR_FILE_CORRUPTED signals a malfunctioning or corrupted file system at OS level, thus we translate it to the new
NS_ERROR_FILE_FS_CORRUPTED.

There seems to be no suitable errno under POSIX to map here.

Differential Revision: https://phabricator.services.mozilla.com/D108793
2021-03-23 10:29:02 +00:00
..
Base64.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
Base64.h
CocoaFileUtils.h
CocoaFileUtils.mm Bug 1697964 - Remove GetQuarantinePropKey(). r=mac-reviewers,tnikkel 2021-03-12 01:46:24 +00:00
FileDescriptorFile.cpp Bug 1660841 - Provide file creation time via nsIFile::creationTime{,ofLink} r=nika 2020-12-03 04:10:47 +00:00
FileDescriptorFile.h
FilePreferences.cpp
FilePreferences.h
FileUtilsWin.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
FileUtilsWin.h
InputStreamLengthHelper.cpp
InputStreamLengthHelper.h
InputStreamLengthWrapper.cpp
InputStreamLengthWrapper.h
NonBlockingAsyncInputStream.cpp
NonBlockingAsyncInputStream.h
SeekableStreamWrapper.cpp Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-02-04 18:13:09 +00:00
SeekableStreamWrapper.h Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-02-04 18:13:09 +00:00
SlicedInputStream.cpp
SlicedInputStream.h
SnappyCompressOutputStream.cpp
SnappyCompressOutputStream.h
SnappyFrameUtils.cpp
SnappyFrameUtils.h
SnappyUncompressInputStream.cpp
SnappyUncompressInputStream.h
SpecialSystemDirectory.cpp Bug 1667872 - Fix GetWindowsFolder storage r=jmathies 2020-09-30 23:58:23 +00:00
SpecialSystemDirectory.h
components.conf Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin 2021-02-18 13:26:28 +00:00
crc32c.c
crc32c.h
moz.build Bug 1681529 - Part 6: Introduce a SeekableStreamWrapper to make pipes seekable, r=baku 2021-02-04 18:13:09 +00:00
nsAnonymousTemporaryFile.cpp
nsAnonymousTemporaryFile.h
nsAppDirectoryServiceDefs.h
nsAppFileLocationProvider.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
nsAppFileLocationProvider.h
nsBinaryStream.cpp Bug 1674777 part 7 - Change nsIBinaryInputStream.readArrayBuffer to use uint64_t instead of uint32_t. r=kmag 2021-02-10 08:30:05 +00:00
nsBinaryStream.h
nsDirectoryService.cpp Bug 1688833 - Migrate LookupForAdd to WithEntryHandle in xpcom. r=xpcom-reviewers,kmag 2021-02-09 18:19:37 +00:00
nsDirectoryService.h
nsDirectoryServiceDefs.h
nsDirectoryServiceUtils.h
nsEscape.cpp
nsEscape.h
nsIAsyncInputStream.idl
nsIAsyncOutputStream.idl
nsIBinaryInputStream.idl Bug 1674777 part 7 - Change nsIBinaryInputStream.readArrayBuffer to use uint64_t instead of uint32_t. r=kmag 2021-02-10 08:30:05 +00:00
nsIBinaryOutputStream.idl Bug 1539948, part 3 - Only allow nostdcall methods and attributes on builtinclass interfaces. r=nika 2020-12-09 02:41:19 +00:00
nsICloneableInputStream.idl
nsIConverterInputStream.idl
nsIConverterOutputStream.idl
nsIDirectoryEnumerator.idl
nsIDirectoryService.idl
nsIFile.idl Bug 1660841 - Provide file creation time via nsIFile::creationTime{,ofLink} r=nika 2020-12-03 04:10:47 +00:00
nsIIOUtil.idl
nsIInputStream.idl
nsIInputStreamLength.idl
nsIInputStreamPriority.idl
nsIInputStreamTee.idl
nsILineInputStream.idl
nsILocalFileMac.idl
nsILocalFileWin.idl
nsIMultiplexInputStream.idl
nsIOUtil.cpp
nsIOUtil.h
nsIObjectInputStream.idl
nsIObjectOutputStream.idl
nsIOutputStream.idl
nsIPipe.idl
nsISafeOutputStream.idl
nsIScriptableBase64Encoder.idl
nsIScriptableInputStream.idl
nsISeekableStream.idl
nsIStorageStream.idl
nsIStreamBufferAccess.idl
nsIStringStream.idl
nsITellableStream.idl
nsIUnicharInputStream.idl
nsIUnicharLineInputStream.idl
nsIUnicharOutputStream.idl
nsInputStreamTee.cpp
nsLinebreakConverter.cpp
nsLinebreakConverter.h
nsLocalFile.h
nsLocalFileCommon.cpp Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika 2020-12-17 14:58:18 +00:00
nsLocalFileCommon.h
nsLocalFileUnix.cpp Bug 1693462 - Avoid quarantine attribute being set when using nsILocalFile.copyTo* on macOS. r=nika 2021-03-11 21:42:04 +00:00
nsLocalFileUnix.h Bug 1660841 - Provide file creation time via nsIFile::creationTime{,ofLink} r=nika 2020-12-03 04:10:47 +00:00
nsLocalFileWin.cpp Bug 1690326: Map Windows error 0x570 ERROR_FILE_CORRUPT to NS_ERROR_FILE_FS_CORRUPTED r=xpcom-reviewers,janv,nika 2021-03-23 10:29:02 +00:00
nsLocalFileWin.h
nsMultiplexInputStream.cpp Bug 1119956 derive from DiscardableRunnable instead of CancelableRunnable when Cancel() is not supported r=asuth,sg 2020-12-03 09:04:44 +00:00
nsMultiplexInputStream.h
nsNativeCharsetUtils.cpp
nsNativeCharsetUtils.h
nsPipe.h
nsPipe3.cpp Bug 1681529 - Part 8: Handle clones of closed nsPipeInputStreams, r=baku 2021-02-04 18:13:14 +00:00
nsScriptableBase64Encoder.cpp
nsScriptableBase64Encoder.h
nsScriptableInputStream.cpp
nsScriptableInputStream.h
nsSegmentedBuffer.cpp Bug 1667581 - Ensure there's only one nsSegmentedBuffer::FreeOMT pending at any time r=sg 2020-11-26 08:15:03 +00:00
nsSegmentedBuffer.h Bug 1667581 - Ensure there's only one nsSegmentedBuffer::FreeOMT pending at any time r=sg 2020-11-26 08:15:03 +00:00
nsStorageStream.cpp
nsStorageStream.h
nsStreamUtils.cpp
nsStreamUtils.h
nsStringStream.cpp
nsStringStream.h
nsUnicharInputStream.cpp
nsUnicharInputStream.h
nsWildCard.cpp
nsWildCard.h