diff options
| author | 2011-06-07 15:20:34 -0700 | |
|---|---|---|
| committer | 2011-06-07 15:20:34 -0700 | |
| commit | ba4b2faa0991ce4797fbc19270a5554eaa895588 (patch) | |
| tree | 5b62c2f9858c9c3a85f5e04e02c7af3887ba68b9 /libs/utils/BackupHelpers.cpp | |
| parent | 2391a983149a0838e37a64ce85a2c19382a1311b (diff) | |
| parent | 3f6c77b7caa02193205cb6ce180e0eb5a7579aa6 (diff) | |
Merge "Fix embedded spaces in tar stream EVEN HARDER"
Diffstat (limited to 'libs/utils/BackupHelpers.cpp')
| -rw-r--r-- | libs/utils/BackupHelpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/utils/BackupHelpers.cpp b/libs/utils/BackupHelpers.cpp index b433fd3cf318..f933199fe8d1 100644 --- a/libs/utils/BackupHelpers.cpp +++ b/libs/utils/BackupHelpers.cpp @@ -503,10 +503,10 @@ int write_tarfile(const String8& packageName, const String8& domain, needExtended = true; } - // Non-7bit-clean path or embedded spaces also mean needing pax extended format + // Non-7bit-clean path also means needing pax extended format if (!needExtended) { for (size_t i = 0; i < filepath.length(); i++) { - if ((filepath[i] & 0x80) != 0 || filepath[i] == ' ') { + if ((filepath[i] & 0x80) != 0) { needExtended = true; break; } |