Revision: 1762
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1762&view=rev
Author: jcsjcs
Date: 2007-11-07 07:24:26 -0800 (Wed, 07 Nov 2007)
Log Message:
-----------
* tools/hal-callout.c (mount_ipod): fix bug that prevented
creation of the SysInfoExtended file if it hadn't already
existed.
Add copyright header.
* tools/ipod-scsi-inquiry.c: added project name to the copyright
header.
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/tools/hal-callout.c
libgpod/trunk/tools/ipod-scsi-inquiry.c
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2007-11-06 20:04:59 UTC (rev 1761)
+++ libgpod/trunk/ChangeLog 2007-11-07 15:24:26 UTC (rev 1762)
@@ -1,3 +1,13 @@
+2007-11-07 Jorg Schuler <jcsjcs at users.sourceforge.net>
+
+ * tools/hal-callout.c (mount_ipod): fix bug that prevented
+ creation of the SysInfoExtended file if it hadn't already
+ existed.
+ Add copyright header.
+
+ * tools/ipod-scsi-inquiry.c: added project name to the copyright
+ header.
+
2007-11-06 Christophe Fergeau <[EMAIL PROTECTED]>
* configure.ac: raise version number and soname in preparation for a
Modified: libgpod/trunk/tools/hal-callout.c
===================================================================
--- libgpod/trunk/tools/hal-callout.c 2007-11-06 20:04:59 UTC (rev 1761)
+++ libgpod/trunk/tools/hal-callout.c 2007-11-07 15:24:26 UTC (rev 1762)
@@ -1,7 +1,35 @@
+/* Copyright (c) 2007, Christophe Fergeau <[EMAIL PROTECTED]>
+ * Part of the libgpod project.
+ *
+ * URL: http://www.gtkpod.org/
+ * URL: http://gtkpod.sourceforge.net/
+ *
+ * The code contained in this file is free software; you can redistribute
+ * it and/or modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either version
+ * 2.1 of the License, or (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this code; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * iTunes and iPod are trademarks of Apple
+ *
+ * This product is not supported/written/published by Apple!
+ *
+ */
+
#include <errno.h>
#include <glib.h>
#include <glib/gstdio.h>
-#define __USE_BSD /* for mkdtemp */
+#ifndef __USE_BSD
+ #define __USE_BSD /* for mkdtemp */
+#endif
#include <stdlib.h>
#include <string.h>
#include <sys/mount.h>
@@ -53,7 +81,7 @@
if (devdirpath == NULL) {
return FALSE;
}
- filename = itdb_get_path (devdirpath, "SysInfoExtended");
+ filename = g_build_filename (devdirpath, "SysInfoExtended", NULL);
g_free (devdirpath);
if (filename == NULL) {
return FALSE;
Modified: libgpod/trunk/tools/ipod-scsi-inquiry.c
===================================================================
--- libgpod/trunk/tools/ipod-scsi-inquiry.c 2007-11-06 20:04:59 UTC (rev
1761)
+++ libgpod/trunk/tools/ipod-scsi-inquiry.c 2007-11-07 15:24:26 UTC (rev
1762)
@@ -1,4 +1,8 @@
/* Copyright (c) 2007, Christophe Fergeau <[EMAIL PROTECTED]>
+ * Part of the libgpod project.
+ *
+ * URL: http://www.gtkpod.org/
+ * URL: http://gtkpod.sourceforge.net/
*
* The code contained in this file is free software; you can redistribute
* it and/or modify it under the terms of the GNU Lesser General Public
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2