From: "James F. Hranicky" Date: 2003-07-18T00:16:57+09:00 Subject: Patch for rdoc to deal with symbolic links The first will return "link" when rel_file_name is linked to a file, the second will return "file". ------------------------------------------------------------- *** rdoc/rdoc.rb.orig Thu Jul 17 11:01:43 2003 --- rdoc/rdoc.rb Thu Jul 17 11:08:34 2003 *************** *** 118,124 **** relative_files.each do |rel_file_name| ! case type = File.ftype(rel_file_name) when "file" file_list << rel_file_name when "directory" --- 118,124 ---- relative_files.each do |rel_file_name| ! case type = File.stat(rel_file_name).ftype when "file" file_list << rel_file_name when "directory" ------------------------------------------------------------- ---------------------------------------------------------------------- | Jim Hranicky, Senior SysAdmin UF/CISE Department | | E314D CSE Building Phone (352) 392-1499 | | jfh@cise.ufl.edu http://www.cise.ufl.edu/~jfh | ---------------------------------------------------------------------- About politics: Don't worry about results It's the thought that counts