⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 semaphore.c_0.9.27.patch

📁 sm86xx rootfs来源包括补丁( GPL )的
💻 PATCH
字号:
diff -Nur uClibc-0.9.27.old/libpthread/linuxthreads/semaphore.c uClibc-0.9.27/libpthread/linuxthreads/semaphore.c--- uClibc-0.9.27.old/libpthread/linuxthreads/semaphore.c	2006-04-21 16:05:56.519478548 -0700+++ uClibc-0.9.27/libpthread/linuxthreads/semaphore.c	2006-04-21 16:03:48.128558709 -0700@@ -226,7 +226,8 @@     /* The standard requires that if the function would block and the        time value is illegal, the function returns with an error.  */     __pthread_unlock(&sem->__sem_lock);-    return EINVAL;+    __set_errno (EINVAL);+    return -1;   }    /* Set up extrication interface */@@ -264,7 +265,8 @@  	if (was_on_queue) { 	  __pthread_set_own_extricate_if(self, 0);-	  return ETIMEDOUT;+	  __set_errno (ETIMEDOUT);+	  return -1; 	}  	/* Eat the outstanding restart() from the signaller */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -