Fresco/Prague/src/IPC ipcbuf.cc,1.16,1.17

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Prague/src/IPC
In directory purcel:/tmp/cvs-serv19338/src/IPC

Modified Files:
	ipcbuf.cc 
Log Message:
fixes/portability (IRIX)

Index: ipcbuf.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Prague/src/IPC/ipcbuf.cc,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- ipcbuf.cc	28 Mar 2001 06:09:47 -0000	1.16
+++ ipcbuf.cc	29 Apr 2003 21:19:11 -0000	1.17
@@ -110,7 +110,7 @@
   return 0;
 }
 
-int ipcbuf::showmanyc() const
+int ipcbuf::showmanyc()
 {
   if (gptr() && gptr() < egptr()) return egptr() - gptr();
   return 0;
@@ -134,8 +134,8 @@
   switch (rlen)
     {
     case 0: _eofbit = true;
-    case EOF: return EOF; break;
-    default: setg(eback(), eback(), eback() + rlen); return *gptr(); break;
+    case EOF: return EOF;
+    default: setg(eback(), eback(), eback() + rlen); return *gptr();
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.