From d78c6fe3d3b6097d098c0ea26a6bd722f2b70b42 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 13 Jan 2000 18:22:32 +0000 Subject: + Comment cleanup --- cpukit/posix/src/semaphorecreatesupp.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'cpukit/posix/src/semaphorecreatesupp.c') diff --git a/cpukit/posix/src/semaphorecreatesupp.c b/cpukit/posix/src/semaphorecreatesupp.c index 8177cf9e94..448a658bab 100644 --- a/cpukit/posix/src/semaphorecreatesupp.c +++ b/cpukit/posix/src/semaphorecreatesupp.c @@ -44,17 +44,10 @@ int _POSIX_Semaphore_Create_support( } if ( name ) { - - if( strlen(name) > PATH_MAX ) { /* XXX - Is strlen ok to use here ? */ + if( strlen(name) > PATH_MAX ) { _Thread_Enable_dispatch(); set_errno_and_return_minus_one( ENAMETOOLONG ); } - - /* - * XXX Greater than NAME_MAX while POSIX_NO_TRUNC in effect. - * XXX Error description in POSIX book different for mq_open and mq_unlink - * Why??? - */ } the_semaphore = _POSIX_Semaphore_Allocate(); -- cgit v1.2.3