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
This commit is contained in:
David Lawrence Ramsey 2004-01-09 23:04:55 +00:00
parent f8ddf31bfb
commit f28f50e6b5
13 changed files with 26 additions and 24 deletions

View File

@ -36,6 +36,8 @@ CVS code -
do_verbatim_input(); changes to do_char(). (DLR) Additional do_verbatim_input(); changes to do_char(). (DLR) Additional
minor tweaks to do_char() by David Benbennick. minor tweaks to do_char() by David Benbennick.
- Clarify the description of the --rebinddelete option. (DLR) - Clarify the description of the --rebinddelete option. (DLR)
- Miscellaneous comment tweaks, including copyright year
updates. (DLR)
- cut.c: - cut.c:
- Overhaul to increase efficiency and add various cleanups. - Overhaul to increase efficiency and add various cleanups.
Changes to add_to_cutbuffer(), cut_marked_segment(), and Changes to add_to_cutbuffer(), cut_marked_segment(), and

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* color.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* cut.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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 * the first character after what was cut. We do not do any screen
* updates. * 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) void cut_marked_segment(void)
{ {
filestruct *top; filestruct *top;

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* files.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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 */ static int fileformat = 0; /* 0 = *nix, 1 = DOS, 2 = Mac */
#endif #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) void load_file(int update)
{ {
current = fileage; current = fileage;
@ -2349,7 +2349,7 @@ struct stat filestat(const char *path)
return st; return st;
} }
/* Our sort routine for file listings - sort directories before /* Our sort routine for file listings -- sort directories before
* files, and then alphabetically. */ * files, and then alphabetically. */
int diralphasort(const void *va, const void *vb) int diralphasort(const void *va, const void *vb)
{ {

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* global.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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 */ /* More stuff for the marker select */
#ifndef NANO_SMALL #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 */ int mark_beginx; /* X value in the string to start */
#endif #endif

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* move.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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); current_x = actual_x(current->data, placewewant);
if (current_y > 0) { if (current_y > 0) {
update_line(current->next, 0); update_line(current->next, 0);
/* It was necessary to change current first, so the mark /* It was necessary to change current first, so that the
* display will change! */ * mark display will change! */
update_line(current, current_x); update_line(current, current_x);
} else } else
#ifndef NANO_SMALL #ifndef NANO_SMALL

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* nano.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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")); 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. */ * save_cutbuffer is nonzero, don't set cutbuffer to NULL. */
void global_init(int save_cutbuffer) void global_init(int save_cutbuffer)
{ {

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* nano.h * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * 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 int val; /* Sequence to toggle the key. Should only need
* one. */ * one. */
const char *desc; /* Description for when toggle is, uh, toggled, const char *desc; /* Description for when toggle is, uh, toggled,
e.g. "Pico Messages"; we'll append Enabled or * e.g. "Cut to end"; we'll append Enabled or
Disabled. */ * Disabled. */
int flag; /* What flag actually gets toggled. */ int flag; /* What flag actually gets toggled. */
struct toggle *next; struct toggle *next;
} toggle; } toggle;

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* proto.h * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *
@ -19,7 +19,7 @@
* * * *
**************************************************************************/ **************************************************************************/
/* Externs */ /* Externs. */
#include <sys/stat.h> #include <sys/stat.h>
@ -128,7 +128,7 @@ extern historyheadtype replace_history;
extern int curses_ended; extern int curses_ended;
/* Functions we want available */ /* Functions we want available. */
/* Public functions in color.c */ /* Public functions in color.c */
#ifdef ENABLE_COLOR #ifdef ENABLE_COLOR

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* rcfile.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *
@ -233,7 +233,7 @@ char *parse_next_regex(char *ptr)
if (*ptr == '\0') if (*ptr == '\0')
return NULL; return NULL;
/* Null terminate and advance ptr */ /* Null terminate and advance ptr. */
*ptr++ = '\0'; *ptr++ = '\0';
while (*ptr == ' ' || *ptr == '\t') while (*ptr == ' ' || *ptr == '\t')

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* search.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* utils.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *

View File

@ -2,7 +2,7 @@
/************************************************************************** /**************************************************************************
* winio.c * * 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 * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *