put back erroneously removed initialization of original_umask
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1843 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
f7b5d930a9
Коммит
25529074d3
@ -1392,7 +1392,7 @@ int write_file(const char *name, int tmp, int append, int nonamechange)
|
|||||||
size_t lineswritten = 0;
|
size_t lineswritten = 0;
|
||||||
const filestruct *fileptr = fileage;
|
const filestruct *fileptr = fileage;
|
||||||
int fd;
|
int fd;
|
||||||
mode_t original_umask;
|
mode_t original_umask = 0;
|
||||||
/* Our umask, from when nano started. */
|
/* Our umask, from when nano started. */
|
||||||
int realexists;
|
int realexists;
|
||||||
/* The result of stat(). TRUE if the file exists, FALSE
|
/* The result of stat(). TRUE if the file exists, FALSE
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user