Mercurial > vim
comparison src/undo.c @ 12716:351cf7c67bbe v8.0.1236
patch 8.0.1236: Mac features are confusing
commit https://github.com/vim/vim/commit/d057301b1f28736f094affa17b190244ad56e8d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 28 21:11:06 2017 +0200
patch 8.0.1236: Mac features are confusing
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Oct 2017 21:15:35 +0200 |
parents | 1ff5e5dfa9b0 |
children | ff494a964ab7 |
comparison
equal
deleted
inserted
replaced
12715:279ec0abb4ac | 12716:351cf7c67bbe |
---|---|
1748 write_error: | 1748 write_error: |
1749 fclose(fp); | 1749 fclose(fp); |
1750 if (!write_ok) | 1750 if (!write_ok) |
1751 EMSG2(_("E829: write error in undo file: %s"), file_name); | 1751 EMSG2(_("E829: write error in undo file: %s"), file_name); |
1752 | 1752 |
1753 #if defined(MACOS_CLASSIC) || defined(WIN3264) | 1753 #if defined(WIN3264) |
1754 /* Copy file attributes; for systems where this can only be done after | 1754 /* Copy file attributes; for systems where this can only be done after |
1755 * closing the file. */ | 1755 * closing the file. */ |
1756 if (buf->b_ffname != NULL) | 1756 if (buf->b_ffname != NULL) |
1757 (void)mch_copy_file_attribute(buf->b_ffname, file_name); | 1757 (void)mch_copy_file_attribute(buf->b_ffname, file_name); |
1758 #endif | 1758 #endif |