irvon / log4go

Automatically exported from code.google.com/p/log4go
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

diff for test fail, syscall.Dup2() has slightly different signature #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
diff -r 0f96d5ad1243 log4go_test.go                                             

--- a/log4go_test.go    Sat Aug 13 15:35:26 2011 -0700                          

+++ b/log4go_test.go    Thu Oct 06 14:25:26 2011 +0200                          

@@ -438,7 +438,7 @@                                                             

        if err != nil {                                                                                                                                                              
                panic(err)                                                                                                                                                           
        }                                                                                                                                                                            
-       if err := syscall.Dup2(sink.Fd(), syscall.Stdout); err != 0 {           

+       if _,err := syscall.Dup2(sink.Fd(), syscall.Stdout); err != 0 {         

                panic(os.Errno(err))                                                                                                                                                 
        }

Original issue reported on code.google.com by graham.a...@gmail.com on 6 Oct 2011 at 12:32