projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8aadb
)
Use g_stat in AudioSource::initialize_peakfile for portability
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 15 Jul 2013 16:41:53 +0000
(12:41 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 15 Jul 2013 16:41:53 +0000
(12:41 -0400)
libs/ardour/audiosource.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/audiosource.cc
b/libs/ardour/audiosource.cc
index 92d35ab1d38633b8802dbc1e642eaa236bf8aca1..d8c25b02002f1f092a614ba19c02f807b6fe9c4b 100644
(file)
--- a/
libs/ardour/audiosource.cc
+++ b/
libs/ardour/audiosource.cc
@@
-228,7
+228,7
@@
AudioSource::initialize_peakfile (string audio_path)
peakpath = find_broken_peakfile (peakpath, audio_path);
}
- if (stat (peakpath.c_str(), &statbuf)) {
+ if (
g_
stat (peakpath.c_str(), &statbuf)) {
if (errno != ENOENT) {
/* it exists in the peaks dir, but there is some kind of error */