[tracker/tracker-0.10-no-atime: 18/23] tracker-extract, mp3: Use g_open instead of open
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10-no-atime: 18/23] tracker-extract, mp3: Use g_open instead of open
- Date: Fri, 23 Sep 2011 11:05:10 +0000 (UTC)
commit 672846d37ef26d4dcda86a9a88ff95db2b66fbf0
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Sep 23 11:47:11 2011 +0200
tracker-extract, mp3: Use g_open instead of open
src/tracker-extract/tracker-extract-mp3.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c
index b2b05b5..00a5ba5 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -2102,9 +2102,9 @@ extract_mp3 (const gchar *uri,
* without as a last resort. This can happen due to
* permissions.
*/
- fd = open (filename, O_RDONLY | O_NOATIME);
+ fd = g_open (filename, O_RDONLY | O_NOATIME);
if (fd == -1) {
- fd = open (filename, O_RDONLY);
+ fd = g_open (filename, O_RDONLY);
if (fd == -1) {
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]