chiark / gitweb /
debian/control: Add missing build-dependency on flex. Fixes FTBFS. Report from Aurel...
[userv.git] / client.c
index 47600090ecc09fcda86200b41f3e08db83bf6463..17fa6cec0dbef2fe6052738cdf4a782cc285f986 100644 (file)
--- a/client.c
+++ b/client.c
@@ -2,11 +2,12 @@
  * userv - client.c
  * client code
  *
- * Copyright (C)1996-1997,1999-2001,2003 Ian Jackson
+ * userv is copyright Ian Jackson and other contributors.
+ * See README for full authorship information.
  *
  * This 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
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
@@ -15,8 +16,7 @@
  * General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with userv; if not, write to the Free Software
- * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with userv; if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
@@ -138,15 +138,17 @@ static void blocksignals(int how) {
   sigset_t set;
   static const char blockerrmsg[]= "userv: failed to [un]block signals: ";
   const char *str;
+  int unused;
 
   sigemptyset(&set);
   sigaddset(&set,SIGCHLD);
   sigaddset(&set,SIGALRM);
   if (sigprocmask(how,&set,0)) {
     str= strerror(errno);
-    write(2,blockerrmsg,sizeof(blockerrmsg)-1);
-    write(2,str,strlen(str));
-    write(2,"\n",1);
+    unused= write(2,blockerrmsg,sizeof(blockerrmsg)-1);
+    unused= write(2,str,strlen(str));
+    unused= write(2,"\n",1);
+    (void)unused;
     exit(-1);
   }
 }
@@ -730,7 +732,7 @@ COPYRIGHT(" ","\n")
 "\n"
 " This is free software; you can redistribute it and/or modify it under the\n"
 " terms of the GNU General Public License as published by the Free Software\n"
-" Foundation; either version 2 of the License, or (at your option) any\n"
+" Foundation; either version 3 of the License, or (at your option) any\n"
 " later version.\n\n"
 " This program is distributed in the hope that it will be useful, but\n"
 " WITHOUT ANY WARRANTY; without even the implied warranty of\n"