projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b821426
)
Use sys::exists instead of g_file_test in session.cc
author
Tim Mayberry
<mojofunk@gmail.com>
Tue, 4 Sep 2007 07:15:01 +0000
(07:15 +0000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Tue, 4 Sep 2007 07:15:01 +0000
(07:15 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2399
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index c638018ab211aecac22fcba142718a536122dbb3..bdb47415ece616ecdeb4fdacbcb6c4e82b229b96 100644
(file)
--- a/
libs/ardour/session.cc
+++ b/
libs/ardour/session.cc
@@
-2950,7
+2950,7
@@
Session::audio_path_from_name (string name, uint32_t nchan, uint32_t chan, bool
}
}
- if (
g_file_test (buf, G_FILE_TEST_EXISTS
)) {
+ if (
sys::exists(buf
)) {
existing++;
}
@@
-3145,7
+3145,7
@@
Session::midi_path_from_name (string name)
snprintf (buf, sizeof(buf), "%s-%u.mid", spath.c_str(), cnt);
- if (
g_file_test (buf, G_FILE_TEST_EXISTS
)) {
+ if (
sys::exists (buf
)) {
existing++;
}
}