2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
* libc/sys/linux/mq_open.c (mq_open): Only set created flag
        on if we actually created the shared memory file exclusively.
			
			
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2003-06-27  Jose Goncalves  <jose.goncalves@inov.pt> | ||||
|  | ||||
| 	* libc/sys/linux/mq_open.c (mq_open): Only set created flag | ||||
| 	on if we actually created the shared memory file exclusively. | ||||
|  | ||||
| 2003-06-27  Joe Vornehm  <joev@mitre.org> | ||||
|  | ||||
| 	* libm/common/s_fpclassify.c (__fpclassifyf): Fix | ||||
|   | ||||
| @@ -98,6 +98,8 @@ mq_open (const char *name, int oflag, ...) | ||||
| 	  return (mqd_t)-1; | ||||
| 	} | ||||
|       errno = saved_errno; | ||||
|       /* check if we created the file or not */ | ||||
|       if (fd >= 0) | ||||
|         created = 1; | ||||
|     } | ||||
| 	   | ||||
|   | ||||
		Reference in New Issue
	
	Block a user