Mercurial > vim
comparison src/filepath.c @ 27490:fb4c30606b4a v8.2.4273
patch 8.2.4273: the EBCDIC support is outdated
Commit: https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 31 14:59:41 2022 +0000
patch 8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 31 Jan 2022 16:00:09 +0100 |
parents | 360a6a1ca9dd |
children | 4c7bb6fd383f |
comparison
equal
deleted
inserted
replaced
27489:9f00e1edb43c | 27490:fb4c30606b4a |
---|---|
2206 if (x == 'Z') | 2206 if (x == 'Z') |
2207 x = '0'; | 2207 x = '0'; |
2208 else if (x == '9') | 2208 else if (x == '9') |
2209 x = 'A'; | 2209 x = 'A'; |
2210 else | 2210 else |
2211 { | 2211 ++x; |
2212 #ifdef EBCDIC | |
2213 if (x == 'I') | |
2214 x = 'J'; | |
2215 else if (x == 'R') | |
2216 x = 'S'; | |
2217 else | |
2218 #endif | |
2219 ++x; | |
2220 } | |
2221 } while (x == 'I' || x == 'O'); | 2212 } while (x == 'I' || x == 'O'); |
2222 } | 2213 } |
2223 | 2214 |
2224 /* | 2215 /* |
2225 * "writefile()" function | 2216 * "writefile()" function |