[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

grantpt_L test2 bug fix



Hi,

Here is a small bug fix for grantpt_L 2 from LSB.os. Else it will 
always be reported as "UNREPORTED". Please include it in the next
release of the LSB test suite.

  Thorsten

--- LSB.os/devclass/grantpt_L/grantpt_L.c
+++ LSB.os/devclass/grantpt_L/grantpt_L.c	2002/02/07 15:30:35
@@ -313,7 +313,7 @@
 	(void) unlockpt(p);
 	(void) close(p);
 
-	if (tbgrantpt(p, SYSERROR, EBADF) != SUCCEED)
+	if (tbgrantpt(p, SYSERROR, EBADF) != SYSERROR)
 	{
 		DBUG_VOID_RETURN;
 	}

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrenstr. 15-19       D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



Reply to: