? build-stamp
? configure-stamp
? idapro-linux-ppc-HOWTO.ps
? vchat-client
? debian/files
? debian/vchat-client
? debian/vchat-client.substvars
Index: vchat-client.c
===================================================================
RCS file: /home/cvsroot/vchat-client/vchat-client.c,v
retrieving revision 1.6
diff -u -r1.6 vchat-client.c
--- vchat-client.c	15 Dec 2003 19:53:34 -0000	1.6
+++ vchat-client.c	4 Jan 2005 17:36:01 -0000
@@ -183,7 +183,7 @@
     tildex = file;
   fd = open(tildex,O_RDONLY);
   if (fd == -1) {
-    snprintf (errstr, TMPSTRSIZE, "Can't open config-file \"%s\": %s.", tildex, sys_errlist[errno]);
+    snprintf (errstr, TMPSTRSIZE, "Can't open config-file \"%s\": %s.", tildex, strerror(errno));
   } else {
     while ((bytes = read(fd,&buf[bufoff],BUFSIZE-bufoff-1))) {
       if (bytes < 0) {
@@ -425,7 +425,7 @@
       /* EINTR is most likely a SIGWINCH - ignore for now */
       if (errno != EINTR)
 	{
-	  snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", sys_errlist[errno]);
+	  snprintf (tmpstr, TMPSTRSIZE, "Select fails, %s.", strerror(errno));
           strncpy(errstr,tmpstr,TMPSTRSIZE-2);
           errstr[TMPSTRSIZE-2] = '\0';
           strcat(errstr,"\n");
@@ -537,7 +537,7 @@
   if (!vcconnect (getstroption(CF_SERVERHOST), getstroption(CF_SERVERPORT)))
     {
       snprintf (tmpstr, TMPSTRSIZE, "Could not connect to server, %s.",
-		sys_errlist[errno]);
+		strerror(errno));
       strncpy(errstr,tmpstr,TMPSTRSIZE-2);
       errstr[TMPSTRSIZE-2] = '\0';
       strcat(errstr,"\n");
Index: vchat-protocol.c
===================================================================
RCS file: /home/cvsroot/vchat-client/vchat-protocol.c,v
retrieving revision 1.9
diff -u -r1.9 vchat-protocol.c
--- vchat-protocol.c	10 Mar 2004 18:35:05 -0000	1.9
+++ vchat-protocol.c	4 Jan 2005 17:36:02 -0000
@@ -1029,7 +1029,7 @@
   /* no bytes transferred? raise error message, bail out */
   if (bytes < 0)
     {
-      snprintf (tmpstr, TMPSTRSIZE, "Receive fails, %s.", sys_errlist[errno]);
+      snprintf (tmpstr, TMPSTRSIZE, "Receive fails, %s.", strerror(errno));
       strncpy(errstr,tmpstr,TMPSTRSIZE-2);
       errstr[TMPSTRSIZE-2] = '\0';
       strcat(errstr,"\n");
