Mercurial > hg > mlmmj
changeset 17:b045203f558b
Add GPL info in top of files where it was missing, and remove a file that
was committed by mistake
author | mmj |
---|---|
date | Thu, 22 Apr 2004 23:00:27 +1000 |
parents | 0ff3818c8132 |
children | f54f95a4c53e |
files | src/do_all_the_voodo_here.c src/gethdrline.c src/mlmmj-process.c src/mlmmj-send.c src/mygetline.c src/print-version.c src/strt.c |
diffstat | 7 files changed, 35 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/src/do_all_the_voodo_here.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/do_all_the_voodo_here.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,3 +1,11 @@ +/* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk> + * + * $Id$ + * + * This file is redistributable under version 2 of the GNU General + * Public License as described at http://www.gnu.org/licenses/gpl.txt + */ + #include <stdio.h> #include <stdlib.h> #include <string.h>
--- a/src/gethdrline.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/gethdrline.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,3 +1,11 @@ +/* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk> + * + * $Id$ + * + * This file is redistributable under version 2 of the GNU General + * Public License as described at http://www.gnu.org/licenses/gpl.txt + */ + #include <stdio.h> #include <stdlib.h>
--- a/src/mlmmj-process.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/mlmmj-process.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Mads Martin Joergensen <mmj at mmj.dk> +/* Copyright (C) 2002, 2003, 2004 Mads Martin Joergensen <mmj at mmj.dk> * * $Id$ *
--- a/src/mlmmj-send.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/mlmmj-send.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,4 +1,4 @@ -/* Copyright (C) 2002, 2003 Mads Martin Joergensen <mmj at mmj.dk> +/* Copyright (C) 2002, 2003, 2004 Mads Martin Joergensen <mmj at mmj.dk> * * $Id$ *
--- a/src/mygetline.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/mygetline.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,3 +1,11 @@ +/* Copyright (C) 2004 Morten K. Poulsen <morten at afdelingp.dk> + * + * $Id$ + * + * This file is redistributable under version 2 of the GNU General + * Public License as described at http://www.gnu.org/licenses/gpl.txt + */ + #include <stdio.h> #include <stdlib.h> #include <string.h>
--- a/src/print-version.c Thu Apr 22 22:41:02 2004 +1000 +++ b/src/print-version.c Thu Apr 22 23:00:27 2004 +1000 @@ -1,3 +1,11 @@ +/* Copyright (C) 2003, 2004 Mads Martin Joergensen <mmj at mmj.dk> + * + * $Id$ + * + * This file is redistributable under version 2 of the GNU General + * Public License as described at http://www.gnu.org/licenses/gpl.txt + */ + #include <stdio.h> #include <string.h> #include <strings.h> @@ -6,7 +14,7 @@ void print_version(const char *prg) { - char *lastslashindex = rindex(prg, '/'); + char *lastslashindex = strrchr(prg, '/'); if(!lastslashindex) lastslashindex = (char *)prg;