Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: JRuby 1.5
    • Fix Version/s: JRuby 1.6
    • Component/s: Extensions
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It's just not in syslog.rb.ffi:

      diff --git a/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi b/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi
      index 57ce384..b49a432 100644
      --- a/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi
      +++ b/lib/ruby/site_ruby/shared/ffi/platform/syslog.rb.ffi
      @@ -41,7 +41,8 @@ module Syslog
             c.const 'LOG_LOCAL5'
             c.const 'LOG_LOCAL6'
             c.const 'LOG_LOCAL7'
      +      c.const 'LOG_NDELAY'
           end
           @@@
         end
      -end
      \ No newline at end of file
      +end
      

      I forget how to regenerate these...

        Activity

        Hide
        Wayne Meissner added a comment -

        Fix in commit f740f783001c7f4afdcd199ca04d09fd4f3b1a5e for MacOS.

        To regen for other platforms, build jruby then run:
        ./bin/jruby -S rake -f lib/ruby/site_ruby/shared/ffi/tools/Rakefile

        and commit the updated files under lib/ruby/site_ruby/shared/ffi/platform

        Show
        Wayne Meissner added a comment - Fix in commit f740f783001c7f4afdcd199ca04d09fd4f3b1a5e for MacOS. To regen for other platforms, build jruby then run: ./bin/jruby -S rake -f lib/ruby/site_ruby/shared/ffi/tools/Rakefile and commit the updated files under lib/ruby/site_ruby/shared/ffi/platform
        Charles Oliver Nutter made changes -
        Field Original Value New Value
        Fix Version/s JRuby 1.6 [ 16275 ]
        Charles Oliver Nutter made changes -
        Fix Version/s JRuby 1.6 [ 17062 ]
        Fix Version/s JRuby 1.6RC1 [ 16275 ]
        Hide
        Hiro Asari added a comment -

        To date, we only have OS X and Linux. We need help from other platforms.

        [system]:platform[git:master] $ ack -l LOG_NDELAY
        i386-darwin/syslog.rb
        i386-linux/syslog.rb
        ppc-darwin/syslog.rb
        x86_64-darwin/syslog.rb
        x86_64-linux/syslog.rb
        
        Show
        Hiro Asari added a comment - To date, we only have OS X and Linux. We need help from other platforms. [system]:platform[git:master] $ ack -l LOG_NDELAY i386-darwin/syslog.rb i386-linux/syslog.rb ppc-darwin/syslog.rb x86_64-darwin/syslog.rb x86_64-linux/syslog.rb

          People

          • Assignee:
            Unassigned
            Reporter:
            Charles Oliver Nutter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: