On Thu, 2009-07-30 at 22:21 -0400, Robert Paulsen wrote: > > The testcase sync_file_range01 uses a file descriptor (variable sfd) in its > second test, expcting to see an ESPIPE error. > > Unfortunately, the code's open of that file descriptor somehow ended up > within a set of curly braces encompasing an error path, not the mainline > code where it should be. Thus, sfd is never set, In practice this leaves > sfd set to zero. That is actually stdin and stdin can work for the testcase > but it is not guaranteed. In fact it mostly works, but it hapens to fail > sometimes. The attached patch causes the open for sfd (to /dev/null) to > actually get invoked. > > (See attached file: sync_file_range01.diff) > > Signed-off-by: Robert Paulsen <[email protected]>
Thanks for this. Regards-- Subrata > > Robert Paulsen > IBM Linux Technology Center, Austin > [email protected] > 512-468-0565 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
