[tracker] 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-extract, mp3: Use g_open instead of open
- Date: Fri, 23 Sep 2011 09:54:36 +0000 (UTC)
commit fdb65fc56b945b36fc88b3379b85f244b907de52
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 2c944f8..83c3970 100644
--- a/src/tracker-extract/tracker-extract-mp3.c
+++ b/src/tracker-extract/tracker-extract-mp3.c
@@ -2096,9 +2096,9 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
* 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 FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]