Project

General

Profile

Bug #993

obsolete "nonblocking IO#read" used in system calls

Added by JWuttke (Joachim Wuttke) about 12 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.8.7
[ruby-core:21230]

Description

=begin
Running ruby 1.8.7 under linux, from time to time I get the message
"warning: nonblocking IO#read is obsolete; use IO#readpartial or IO#sysread".

It comes from a line of code like
my_file_list += ls *.myextension

Hence I guess the invalid read is located somewhere inside the implementation of the .. system call.
=end

Also available in: Atom PDF