Revision: 2386
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2386&view=rev
Author: teuf
Date: 2009-10-07 22:06:07 +0000 (Wed, 07 Oct 2009)
Log Message:
-----------
a read-only file descriptor is enough for libsgutils
The hal callout was failing on my mandriva 2010.0 system because it didn't
like the R/W file descriptor
Modified Paths:
--------------
libgpod/trunk/tools/ipod-scsi.c
Modified: libgpod/trunk/tools/ipod-scsi.c
===================================================================
--- libgpod/trunk/tools/ipod-scsi.c 2009-09-03 21:49:35 UTC (rev 2385)
+++ libgpod/trunk/tools/ipod-scsi.c 2009-10-07 22:06:07 UTC (rev 2386)
@@ -70,7 +70,7 @@
GString *xml_sysinfo;
unsigned int i;
- fd = open (device, O_RDWR);
+ fd = open (device, O_RDONLY);
if (fd < 0) {
return NULL;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2