projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2082d3c
)
Remove incorrect comment.
author
Ulrich Drepper
<drepper@redhat.com>
Sat, 2 Dec 2000 01:17:51 +0000
(
01:17
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sat, 2 Dec 2000 01:17:51 +0000
(
01:17
+0000)
sysdeps/unix/sysv/linux/shm_open.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/shm_open.c
b/sysdeps/unix/sysv/linux/shm_open.c
index
713a471
..
8186052
100644
(file)
--- a/
sysdeps/unix/sysv/linux/shm_open.c
+++ b/
sysdeps/unix/sysv/linux/shm_open.c
@@
-218,11
+218,7
@@
shm_unlink (const char *name)
__mempcpy (__mempcpy (fname, mountpoint.dir, mountpoint.dirlen),
name, namelen + 1);
- /* And get the file descriptor.
- XXX Maybe we should test each descriptor whether it really is for a
- file on the shmfs. If this is what should be done the whole function
- should be revamped since we can determine whether shmfs is available
- while trying to open the file, all in one turn. */
+ /* And remove the file. */
return unlink (fname);
}