Mercurial > vim
comparison src/proto/fileio.pro @ 18199:e2be5a6485f5 v8.1.2094
patch 8.1.2094: the fileio.c file is too big
Commit: https://github.com/vim/vim/commit/473952e85286eb9c6098801f1819981ba61ad153
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 28 16:30:04 2019 +0200
patch 8.1.2094: the fileio.c file is too big
Problem: The fileio.c file is too big.
Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan,
closes #4990)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Sep 2019 16:45:04 +0200 |
parents | 0f7ae8010787 |
children | c2beb6baa42c |
comparison
equal
deleted
inserted
replaced
18198:3ebea66ebaff | 18199:e2be5a6485f5 |
---|---|
1 /* fileio.c */ | 1 /* fileio.c */ |
2 void filemess(buf_T *buf, char_u *name, char_u *s, int attr); | |
2 int readfile(char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags); | 3 int readfile(char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags); |
3 int is_dev_fd_file(char_u *fname); | 4 int is_dev_fd_file(char_u *fname); |
4 int prep_exarg(exarg_T *eap, buf_T *buf); | 5 int prep_exarg(exarg_T *eap, buf_T *buf); |
5 void set_file_options(int set_options, exarg_T *eap); | 6 void set_file_options(int set_options, exarg_T *eap); |
6 void set_forced_fenc(exarg_T *eap); | 7 void set_forced_fenc(exarg_T *eap); |
7 int check_file_readonly(char_u *fname, int perm); | 8 int check_file_readonly(char_u *fname, int perm); |
8 int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); | |
9 int vim_fsync(int fd); | 9 int vim_fsync(int fd); |
10 int set_rw_fname(char_u *fname, char_u *sfname); | |
10 void msg_add_fname(buf_T *buf, char_u *fname); | 11 void msg_add_fname(buf_T *buf, char_u *fname); |
12 int msg_add_fileformat(int eol_type); | |
11 void msg_add_lines(int insert_space, long lnum, off_T nchars); | 13 void msg_add_lines(int insert_space, long lnum, off_T nchars); |
14 void msg_add_eol(void); | |
15 int time_differs(long t1, long t2); | |
16 int need_conversion(char_u *fenc); | |
17 int get_fio_flags(char_u *ptr); | |
18 int get_win_fio_flags(char_u *ptr); | |
19 int get_mac_fio_flags(char_u *ptr); | |
12 char_u *shorten_fname1(char_u *full_path); | 20 char_u *shorten_fname1(char_u *full_path); |
13 char_u *shorten_fname(char_u *full_path, char_u *dir_name); | 21 char_u *shorten_fname(char_u *full_path, char_u *dir_name); |
14 void shorten_buf_fname(buf_T *buf, char_u *dirname, int force); | 22 void shorten_buf_fname(buf_T *buf, char_u *dirname, int force); |
15 void shorten_fnames(int force); | 23 void shorten_fnames(int force); |
16 void shorten_filenames(char_u **fnames, int count); | 24 void shorten_filenames(char_u **fnames, int count); |