* advapi32.cc (AllocateLocallyUniqueId): Remove.

* fhandler_disk_file.cc (fhandler_base::open_fs): Replace call to
	AllocateLocallyUniqueId with call to NtAllocateLocallyUniqueId;
	* posix_ipc.cc (mq_open): Ditto.  Drop error handling for that call.
	(sem_open): Ditto.
This commit is contained in:
Corinna Vinschen
2011-04-28 08:15:56 +00:00
parent f97612978a
commit 41e9c14558
4 changed files with 11 additions and 18 deletions

View File

@@ -1403,7 +1403,7 @@ fhandler_base::open_fs (int flags, mode_t mode)
ino = pc.get_ino_by_handle (get_handle ());
/* A unique ID is necessary to recognize fhandler entries which are
duplicated by dup(2) or fork(2). */
AllocateLocallyUniqueId ((PLUID) &unique_id);
NtAllocateLocallyUniqueId ((PLUID) &unique_id);
out:
syscall_printf ("%d = fhandler_disk_file::open (%S, %p)", res,