typo in gthread-posix.c



Hi,

while digging through the gthread sources, I just stumbled over this:


diff -u -3 -r1.29 gthread-posix.c
--- gthread/gthread-posix.c	19 Sep 2001 12:46:39 -0000	1.29
+++ gthread/gthread-posix.c	10 Mar 2002 00:21:31 -0000
@@ -212,7 +212,7 @@
 #ifdef G_THREADS_IMPL_POSIX
   timed_out = (result == ETIMEDOUT);
 #else /* G_THREADS_IMPL_DCE */
-  timed_out = (result == -1) && (errno = EAGAIN);
+  timed_out = (result == -1) && (errno == EAGAIN);
 #endif
 
   if (!timed_out)


OK to commit?

Cheers,
--Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]