$NetBSD: patch-aj,v 1.4 2009/04/12 20:46:20 adam Exp $

--- liboctave/file-ops.cc.orig	2009-02-18 07:57:46.000000000 +0100
+++ liboctave/file-ops.cc
@@ -859,7 +859,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
