Mercurial > vim
view src/os_qnx.h @ 23817:e6b37eca27b6 v8.2.2450
patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes"
Commit: https://github.com/vim/vim/commit/7781ebe50f6d4daba02be3bd7e6ca08cd459674b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 1 20:35:01 2021 +0100
patch 8.2.2450: MS-Windows: ADS was not preserved if 'backupcopy' is "yes"
Problem: MS-Windows: ADS was not preserved if 'backupcopy' is "yes".
Solution: Copy ADS before truncating the file. (Ken Takata, closes https://github.com/vim/vim/issues/7762)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Feb 2021 20:45:04 +0100 |
parents | 6e3dc2d630c2 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef __QNXNTO__ # include <sys/procmgr.h> #endif #define USE_TMPNAM #define POSIX // Used by pty.c #if defined(FEAT_GUI_PHOTON) extern int is_photon_available; #endif