mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.2243: typos in comments
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
This commit is contained in:
@@ -2307,7 +2307,7 @@ copy_viminfo_marks(
|
||||
else
|
||||
{
|
||||
// No timestamp, must be written by an older Vim.
|
||||
// Assume all remaining buffers are older then
|
||||
// Assume all remaining buffers are older than
|
||||
// ours.
|
||||
while (count < num_marked_files
|
||||
&& buflist_used < buflist->ga_len)
|
||||
@@ -3201,7 +3201,7 @@ write_viminfo(char_u *file, int forceit)
|
||||
{
|
||||
if (st_old.st_uid != tmp_st.st_uid)
|
||||
// Changing the owner might fail, in which case the
|
||||
// file will now owned by the current user, oh well.
|
||||
// file will now be owned by the current user, oh well.
|
||||
vim_ignored = fchown(fileno(fp_out), st_old.st_uid, -1);
|
||||
if (st_old.st_gid != tmp_st.st_gid
|
||||
&& fchown(fileno(fp_out), -1, st_old.st_gid) == -1)
|
||||
|
Reference in New Issue
Block a user