aboutsummaryrefslogtreecommitdiffstats
path: root/old-extension/fileop.c
diff options
context:
space:
mode:
Diffstat (limited to 'old-extension/fileop.c')
-rw-r--r--old-extension/fileop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/old-extension/fileop.c b/old-extension/fileop.c
index 86f62576..97a51c81 100644
--- a/old-extension/fileop.c
+++ b/old-extension/fileop.c
@@ -5,20 +5,20 @@
/*
* Copyright (C) 2012 the Free Software Foundation, Inc.
- *
+ *
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
- *
+ *
* GAWK is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* GAWK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
@@ -55,7 +55,7 @@ do_fread(int nargs)
force_number(arg);
rlen = get_number_ui(arg);
- emalloc(rbuf, char *, rlen + 2, "do_fread");
+ emalloc(rbuf, char *, rlen + 1, "do_fread");
if ((count = fread(rbuf, 1, rlen, f->fp)) < rlen) {
if (! feof(f->fp))
update_ERRNO_int(errno);
@@ -379,7 +379,7 @@ dlload(NODE *tree, void *dl)
}
-/* dlunload --- routine called when exiting */
+/* dlunload --- routine called when exiting */
void
dlunload()