Commit 0af8604e authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

more comment fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent ec721c8e
Showing with 3 additions and 2 deletions
+3 -2
...@@ -1392,6 +1392,7 @@ int write_file(const char *name, int tmp, int append, int nonamechange) ...@@ -1392,6 +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;
/* The file descriptor we use. */
mode_t original_umask = 0; mode_t original_umask = 0;
/* Our umask, from when nano started. */ /* Our umask, from when nano started. */
int realexists; int realexists;
...@@ -1401,12 +1402,12 @@ int write_file(const char *name, int tmp, int append, int nonamechange) ...@@ -1401,12 +1402,12 @@ int write_file(const char *name, int tmp, int append, int nonamechange)
struct stat st; struct stat st;
/* The status fields filled in by stat(). */ /* The status fields filled in by stat(). */
int anyexists; int anyexists;
/* Result of lstat(). Same as realexists unless name is a /* The result of lstat(). Same as realexists unless name is a
* link. */ * link. */
struct stat lst; struct stat lst;
/* The status fields filled in by lstat(). */ /* The status fields filled in by lstat(). */
char *realname; char *realname;
/* name after ~ expansion. */ /* name after tilde expansion. */
FILE *f; FILE *f;
/* The actual file, realname, we are writing to. */ /* The actual file, realname, we are writing to. */
char *tempname = NULL; char *tempname = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment