commit f28f50e6b5916cd60601e72d4213e235143bcc6b
parent f8ddf31bfb5bfbae875e686bc767cfdfec737fa0
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Fri, 9 Jan 2004 23:04:55 +0000
update the copyright years on the source files to 2004 (adding a few
minor comment tweaks so that all the source files are covered)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1613 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
13 files changed, 26 insertions(+), 24 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -36,6 +36,8 @@ CVS code -
do_verbatim_input(); changes to do_char(). (DLR) Additional
minor tweaks to do_char() by David Benbennick.
- Clarify the description of the --rebinddelete option. (DLR)
+ - Miscellaneous comment tweaks, including copyright year
+ updates. (DLR)
- cut.c:
- Overhaul to increase efficiency and add various cleanups.
Changes to add_to_cutbuffer(), cut_marked_segment(), and
diff --git a/src/color.c b/src/color.c
@@ -2,7 +2,7 @@
/**************************************************************************
* color.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
diff --git a/src/cut.c b/src/cut.c
@@ -2,7 +2,7 @@
/**************************************************************************
* cut.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -83,7 +83,7 @@ void add_to_cutbuffer(filestruct *inptr)
* the first character after what was cut. We do not do any screen
* updates.
*
- * Note cutbuffer might not be NULL if "cut to end" is used. */
+ * Note cutbuffer might not be NULL if cut to end is used. */
void cut_marked_segment(void)
{
filestruct *top;
diff --git a/src/files.c b/src/files.c
@@ -2,7 +2,7 @@
/**************************************************************************
* files.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -48,7 +48,7 @@
static int fileformat = 0; /* 0 = *nix, 1 = DOS, 2 = Mac */
#endif
-/* Load file into edit buffer - takes data from file struct. */
+/* Load file into edit buffer -- takes data from file struct. */
void load_file(int update)
{
current = fileage;
@@ -2349,7 +2349,7 @@ struct stat filestat(const char *path)
return st;
}
-/* Our sort routine for file listings - sort directories before
+/* Our sort routine for file listings -- sort directories before
* files, and then alphabetically. */
int diralphasort(const void *va, const void *vb)
{
diff --git a/src/global.c b/src/global.c
@@ -2,7 +2,7 @@
/**************************************************************************
* global.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -92,7 +92,7 @@ char *help_text; /* The text in the help window */
/* More stuff for the marker select */
#ifndef NANO_SMALL
-filestruct *mark_beginbuf; /* the begin marker buffer */
+filestruct *mark_beginbuf; /* The begin marker buffer */
int mark_beginx; /* X value in the string to start */
#endif
diff --git a/src/move.c b/src/move.c
@@ -2,7 +2,7 @@
/**************************************************************************
* move.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -148,8 +148,8 @@ int do_up(void)
current_x = actual_x(current->data, placewewant);
if (current_y > 0) {
update_line(current->next, 0);
- /* It was necessary to change current first, so the mark
- * display will change! */
+ /* It was necessary to change current first, so that the
+ * mark display will change! */
update_line(current, current_x);
} else
#ifndef NANO_SMALL
diff --git a/src/nano.c b/src/nano.c
@@ -2,7 +2,7 @@
/**************************************************************************
* nano.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -186,7 +186,7 @@ void print_view_warning(void)
statusbar(_("Key illegal in VIEW mode"));
}
-/* Initialize global variables - no better way for now. If
+/* Initialize global variables -- no better way for now. If
* save_cutbuffer is nonzero, don't set cutbuffer to NULL. */
void global_init(int save_cutbuffer)
{
diff --git a/src/nano.h b/src/nano.h
@@ -2,7 +2,7 @@
/**************************************************************************
* nano.h *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -198,8 +198,8 @@ typedef struct toggle {
int val; /* Sequence to toggle the key. Should only need
* one. */
const char *desc; /* Description for when toggle is, uh, toggled,
- e.g. "Pico Messages"; we'll append Enabled or
- Disabled. */
+ * e.g. "Cut to end"; we'll append Enabled or
+ * Disabled. */
int flag; /* What flag actually gets toggled. */
struct toggle *next;
} toggle;
diff --git a/src/proto.h b/src/proto.h
@@ -2,7 +2,7 @@
/**************************************************************************
* proto.h *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -19,7 +19,7 @@
* *
**************************************************************************/
-/* Externs */
+/* Externs. */
#include <sys/stat.h>
@@ -128,7 +128,7 @@ extern historyheadtype replace_history;
extern int curses_ended;
-/* Functions we want available */
+/* Functions we want available. */
/* Public functions in color.c */
#ifdef ENABLE_COLOR
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -2,7 +2,7 @@
/**************************************************************************
* rcfile.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
@@ -233,7 +233,7 @@ char *parse_next_regex(char *ptr)
if (*ptr == '\0')
return NULL;
- /* Null terminate and advance ptr */
+ /* Null terminate and advance ptr. */
*ptr++ = '\0';
while (*ptr == ' ' || *ptr == '\t')
diff --git a/src/search.c b/src/search.c
@@ -2,7 +2,7 @@
/**************************************************************************
* search.c *
* *
- * Copyright (C) 2000-2003 Chris Allegretta *
+ * Copyright (C) 2000-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
diff --git a/src/utils.c b/src/utils.c
@@ -2,7 +2,7 @@
/**************************************************************************
* utils.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *
diff --git a/src/winio.c b/src/winio.c
@@ -2,7 +2,7 @@
/**************************************************************************
* winio.c *
* *
- * Copyright (C) 1999-2003 Chris Allegretta *
+ * Copyright (C) 1999-2004 Chris Allegretta *
* This program 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 2, or (at your option) *