Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
5bd19177
Commit
5bd19177
authored
Feb 02, 2013
by
Denis Krjuchkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SongUpdate.cxx: use StatFile
parent
178c6c20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
SongUpdate.cxx
src/SongUpdate.cxx
+2
-1
No files found.
src/SongUpdate.cxx
View file @
5bd19177
...
@@ -27,6 +27,7 @@ extern "C" {
...
@@ -27,6 +27,7 @@ extern "C" {
#include "Directory.hxx"
#include "Directory.hxx"
#include "Mapper.hxx"
#include "Mapper.hxx"
#include "fs/Path.hxx"
#include "fs/Path.hxx"
#include "fs/FileSystem.hxx"
#include "tag.h"
#include "tag.h"
#include "input_stream.h"
#include "input_stream.h"
#include "decoder_plugin.h"
#include "decoder_plugin.h"
...
@@ -111,7 +112,7 @@ song_file_update(struct song *song)
...
@@ -111,7 +112,7 @@ song_file_update(struct song *song)
song
->
tag
=
NULL
;
song
->
tag
=
NULL
;
}
}
if
(
stat
(
path_fs
.
c_str
(),
&
st
)
<
0
||
!
S_ISREG
(
st
.
st_mode
))
{
if
(
!
StatFile
(
path_fs
,
st
)
||
!
S_ISREG
(
st
.
st_mode
))
{
return
false
;
return
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment