$NetBSD: patch-aj,v 1.3 2008/01/11 01:23:45 adam Exp $

--- liboctave/file-ops.cc.orig	2007-12-29 04:26:48.000000000 +0100
+++ liboctave/file-ops.cc
@@ -854,7 +854,7 @@ file_ops::unlink (const std::string& nam
 bool
 file_ops::is_dir_sep (char c)
 {
-  return dir_sep_chars.find (c) != NPOS;
+  return c == dir_sep_char;
 }
 
 std::string
