blob: 674b48a049b11e253abb38d5d3172c445a7429aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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
|