Overview
Comment: | ofhttp: Use "unnamed" if output name is nil or / |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7b2c6a38738388cf2dfc09f266d19b1b |
User & Date: | js on 2021-03-14 18:55:35 |
Other Links: | manifest | tags |
Context
2021-03-14
| ||
23:54 | Convert lookup-asm-x86_64-win64.S to AT&T syntax check-in: 2fb21576da user: js tags: trunk | |
18:55 | ofhttp: Use "unnamed" if output name is nil or / check-in: 7b2c6a3873 user: js tags: trunk | |
2021-03-11
| ||
01:10 | tests: Fix missing \r check-in: 0fe7c59492 user: js tags: trunk | |
Changes
Modified utils/ofhttp/OFHTTP.m from [3f5985320f] to [1db0eb477d].
︙ | |||
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 | 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 | + + + + + + + + | _detectedFileName = false; if (_currentFileName == nil) _currentFileName = [_outputPath copy]; if (_currentFileName == nil) _currentFileName = [URL.path.lastPathComponent copy]; if ([_currentFileName isEqual: @"/"]) { [_currentFileName release]; _currentFileName = nil; } if (_currentFileName == nil) _currentFileName = @"unnamed"; if (_continue) { @try { unsigned long long size = [[OFFileManager defaultManager] attributesOfItemAtPath: _currentFileName].fileSize; OFString *range; |
︙ |