ruby-changes:19139
From: shyouhei <ko1@a...>
Date: Fri, 25 Mar 2011 20:10:11 +0900 (JST)
Subject: [ruby-changes:19139] Ruby:r31179 (trunk): ChangeLog for it
shyouhei 2011-03-25 20:06:59 +0900 (Fri, 25 Mar 2011) New Revision: 31179 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31179 Log: ChangeLog for it Modified files: trunk/ChangeLog Index: ChangeLog =================================================================== --- ChangeLog (revision 31178) +++ ChangeLog (revision 31179) @@ -1,3 +1,22 @@ +Fri Mar 25 19:39:40 2011 Ben Walton <bwalton@a...> + + * test/test_syslog.rb: + Skip syslog tests that rely on LOG_PERROR unless it's defined + + Instead of checking looking at the platform to determine if the tests + relying on LOG_PERROR should be run, look for the definition of the + constant as this will be robust against all platforms as long as the + underlying syslog.c code sets it up correctly. + + This specifically addresses failures on Solaris 9. + + Use LOG_PID instead of LOG_PERROR in Syslog.open test + + LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms + that don't define it. Solaris 9 and 10 are examples of this. + + Use LOG_PID instead. + Fri Mar 25 15:42:17 2011 NARUSE, Yui <naruse@r...> * ext/sdbm/_sdbm.c (sdbm_open): use size_t. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/