Hello all, This patch fixes the hardcoded file descriptor in the second testcase within dup203.c . Instead of assuming file descriptor 10 is closed, the fix explicitly opens and closes a file descriptor before using it as the second argument of dup2().
We saw issues on some environments where dup2(10,10) was being called, which this fixes. Henry Yei MontaVista Software, Inc. [EMAIL PROTECTED]
dup203-descriptor-fix.patch
Description: dup203-descriptor-fix.patch
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
