chiark / gitweb /
test: udp-preload: Fix copyright dates and error message
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 23:10:03 +0000 (00:10 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:16:14 +0000 (19:16 +0100)
Also upgrade the licence to GPLv3+ like the rest of secnet.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/udp-preload.c

index cc7ff31d76bcb6832b6a5dabf86efb14a998a23d..31fc7d2aabed0479ac33ed35b8b712662114e9a4 100644 (file)
@@ -1,11 +1,12 @@
 /*
- *  libauthbind.c - bind(2)-redirector library for authbind
+ *  udp-preload.c - testing mock library for secnet udp
+ *  This file is part of secnet.
  *
- *  authbind is Copyright (C) 1998 Ian Jackson
+ *  Copyright (C) 1998,2003-2004,2012,2017,2019 Ian Jackson
  * 
  *  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)
+ *  the Free Software Foundation; either version 3, or (at your option)
  *  any later version.
  * 
  *  This program is distributed in the hope that it will be useful,
  *  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. 
- * 
+ * You should have received a copy of the GNU General Public License
+ * version 3 along with secnet; if not, see
+ * https://www.gnu.org/licenses/gpl.html.
  */
 
 #define _GNU_SOURCE
@@ -48,7 +48,7 @@ static anyfn_type *find_any(const char *name) {
 
   kv= dlsym(RTLD_NEXT,name); if (kv) return kv;
   dlerr= dlerror(); if (!dlerr) dlerr= "dlsym() failed for no reason";
-  STDERRSTR_CONST("libauthbind: error finding original version of ");
+  STDERRSTR_CONST("udp-preload: error finding original version of ");
   STDERRSTR_STRING(name);
   STDERRSTR_CONST(": ");
   STDERRSTR_STRING(dlerr);