about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-02 01:17:51 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-02 01:17:51 +0000
commitba3349887267f7d312ae32956a4dbc81a98d504f (patch)
treee6428a6c3d83558e11e9894d9db8f849700652ce /sysdeps/unix
parent2082d3c68a0ad1dd15cbd2506b293f75dd5ed882 (diff)
downloadglibc-ba3349887267f7d312ae32956a4dbc81a98d504f.tar.gz
glibc-ba3349887267f7d312ae32956a4dbc81a98d504f.tar.xz
glibc-ba3349887267f7d312ae32956a4dbc81a98d504f.zip
Remove incorrect comment.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/shm_open.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/shm_open.c b/sysdeps/unix/sysv/linux/shm_open.c
index 713a47155a..8186052a14 100644
--- 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);
 }