This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PING/rfa/testsuite/threads] schedlock.c: add copyright notice
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb-patches at sources dot redhat dot com, msnyder at redhat dot com
- Date: Mon, 16 Aug 2004 12:56:00 -0400
- Subject: [PING/rfa/testsuite/threads] schedlock.c: add copyright notice
Previously sent 2004-07-31 and 2004-08-08 ... ping!
This patch adds a copyright notice to schedlock.c. It doesn't touch
anything else in schedlock.c, but naturally I'm doing this because I
want to patch schedlock.c next (so that it compiles with gcc HEAD).
Daniel Jacobowitz created schedlock.c in 2002, and the file was edited
in 2003 but not in 2004. Following a previous discussion with Andrew
Cagney and Dan Berlin, I'm not including 2004 in the list of copyright
years.
Date sources: ChangeLog and the cvs log.
Testing: I ran schedlock.exp 32 times before and after on native
i686-pc-linux-gnu to make sure no absolute line numbers got hosed.
Okay to commit?
Michael C
===
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/schedlock.c: Add copyright notice.
Index: gdb.threads/schedlock.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/schedlock.c,v
retrieving revision 1.3
diff -c -3 -p -r1.3 schedlock.c
*** gdb.threads/schedlock.c 15 Apr 2003 02:23:11 -0000 1.3
--- gdb.threads/schedlock.c 1 Aug 2004 01:26:43 -0000
***************
*** 1,3 ****
--- 1,22 ----
+ /* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2002, 2003 Free Software Foundation, Inc.
+
+ 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 of the License, or
+ (at your option) any later version.
+
+ This program 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., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>