From 0af8604ec916055fb27944df144941467f8d2937 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 7 Jul 2004 23:26:08 +0000 Subject: [PATCH] more comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1847 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/files.c b/src/files.c index 3610f0d0..a9f3689b 100644 --- a/src/files.c +++ b/src/files.c @@ -1392,6 +1392,7 @@ int write_file(const char *name, int tmp, int append, int nonamechange) size_t lineswritten = 0; const filestruct *fileptr = fileage; int fd; + /* The file descriptor we use. */ mode_t original_umask = 0; /* Our umask, from when nano started. */ int realexists; @@ -1401,12 +1402,12 @@ int write_file(const char *name, int tmp, int append, int nonamechange) struct stat st; /* The status fields filled in by stat(). */ int anyexists; - /* Result of lstat(). Same as realexists unless name is a + /* The result of lstat(). Same as realexists unless name is a * link. */ struct stat lst; /* The status fields filled in by lstat(). */ char *realname; - /* name after ~ expansion. */ + /* name after tilde expansion. */ FILE *f; /* The actual file, realname, we are writing to. */ char *tempname = NULL;