[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    ARTS_1_1_BRANCH: arts/soundserver
From:       Dirk Mueller <mueller () kde ! org>
Date:       2003-07-14 22:19:22
[Download RAW message or body]

CVS commit by mueller: 

don't crash


  M +1 -2      artscat.cc   1.19.2.2
  M +1 -2      artsrec.cc   1.2.4.2


--- arts/soundserver/artscat.cc  #1.19.2.1:1.19.2.2
@@ -56,6 +56,5 @@ public:
                 pfd = fileno(pfile);
 
-                int rc = fcntl(pfd, F_SETFL, O_NONBLOCK);
-                assert(rc != -1);
+                fcntl(pfd, F_SETFL, O_NONBLOCK);
 
                 /*

--- arts/soundserver/artsrec.cc  #1.2.4.1:1.2.4.2
@@ -58,6 +58,5 @@ public:
                 pfd = fileno(pfile);
 
-                int rc = fcntl(pfd, F_SETFL, O_NONBLOCK);
-                assert(rc != -1);
+                fcntl(pfd, F_SETFL, O_NONBLOCK);
 
                 /*


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic