From: "zzak (Zachary Scott)" Date: 2013-10-16T00:13:43+09:00 Subject: [ruby-core:57879] [ruby-trunk - Bug #8944] Error in example code of DL::CFunc Issue #8944 has been updated by zzak (Zachary Scott). Sorry for not getting to this sooner, thanks for your patience! ---------------------------------------- Bug #8944: Error in example code of DL::CFunc https://bugs.ruby-lang.org/issues/8944#change-42475 Author: phasis68 (Heesob Park) Status: Assigned Priority: Normal Assignee: zzak (Zachary Scott) Category: doc Target version: ruby -v: ruby 2.1.0dev (2013-09-24 trunk 43025) [i386-mswin32_100] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN I found an error in the example code of DL::CFunc. libc,['strcpy'] should be libc['strcpy'] -- http://bugs.ruby-lang.org/