Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Dec 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant