SF.net SVN: morphix: [2444] trunk/morphixinstaller

[email protected] Fri, 08 Dec 2006 03:26:59 -0800
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2444
          http://svn.sourceforge.net/morphix/?rev=2444&view=rev
Author:   alextreme
Date:     2006-12-08 03:26:58 -0800 (Fri, 08 Dec 2006)

Log Message:
-----------
  * segfault-fixes. don't laugh.

Modified Paths:
--------------
    trunk/morphixinstaller/debian/changelog
    trunk/morphixinstaller/debian/files
    trunk/morphixinstaller/debian/morphixinstaller.substvars
    trunk/morphixinstaller/src/instlib.c

Modified: trunk/morphixinstaller/debian/changelog
===================================================================
--- trunk/morphixinstaller/debian/changelog	2006-12-05 09:27:16 UTC (rev 2443)
+++ trunk/morphixinstaller/debian/changelog	2006-12-08 11:26:58 UTC (rev 2444)
@@ -1,3 +1,9 @@
+morphixinstaller (0.5-10) unstable; urgency=low
+
+  * segfault due to integer-void fixes
+
+ -- Alex <[email protected]>  Fri,  8 Dec 2006 12:08:52 +0100
+
 morphixinstaller (0.5-9) unstable; urgency=low
 
   * minor fixes

Modified: trunk/morphixinstaller/debian/files
===================================================================
--- trunk/morphixinstaller/debian/files	2006-12-05 09:27:16 UTC (rev 2443)
+++ trunk/morphixinstaller/debian/files	2006-12-08 11:26:58 UTC (rev 2444)
@@ -1 +1 @@
-morphixinstaller_0.5-9_i386.deb admin optional
+morphixinstaller_0.5-10_i386.deb admin optional

Modified: trunk/morphixinstaller/debian/morphixinstaller.substvars
===================================================================
--- trunk/morphixinstaller/debian/morphixinstaller.substvars	2006-12-05 09:27:16 UTC (rev 2443)
+++ trunk/morphixinstaller/debian/morphixinstaller.substvars	2006-12-08 11:26:58 UTC (rev 2444)
@@ -1 +1 @@
-shlibs:Depends=libatk1.0-0 (>= 1.9.0), libc6 (>= 2.3.5-1), libcairo2 (>= 1.0.2-2), libfontconfig1 (>= 2.3.0), libglib2.0-0 (>= 2.8.5), libgtk2.0-0 (>= 2.8.0), libpango1.0-0 (>= 1.10.4), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxi6, libxinerama1, libxrandr2, libxrender1 (>= 1:0.9.0.2)
+shlibs:Depends=libatk1.0-0 (>= 1.12.2), libc6 (>= 2.3.6-6), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libpango1.0-0 (>= 1.14.8), libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3 (>= 1:4.0.1), libxi6, libxinerama1, libxrandr2, libxrender1 (>= 1:0.9.0.2)

Modified: trunk/morphixinstaller/src/instlib.c
===================================================================
--- trunk/morphixinstaller/src/instlib.c	2006-12-05 09:27:16 UTC (rev 2443)
+++ trunk/morphixinstaller/src/instlib.c	2006-12-08 11:26:58 UTC (rev 2444)
@@ -390,7 +390,7 @@
 void MakeRoot(gpointer data) {
 
   gchar cmdline[256];
-  gint i;
+  gint i = 0;
 
   /* umount the partitions for sure and check for duplicating */
   // somewhere should be check is target directory empty or not
@@ -514,7 +514,8 @@
 	gchar **mod_array;
 	gchar *modules;
 //	gchar *modules_length;
-	gint i, j;
+	gint i = 0;
+	gint j = 0;
 	FILE *file;
 	gint modules_len;
 	gchar **contents_array;
@@ -875,7 +876,7 @@
 	gint n;
 	gchar *scsipath = NULL;
 	FILE *file;
-	gint i;
+	gint i = 0;
 	gint exitstatus;
 	gchar *outbuffer;
 	gchar **output_array;
@@ -1458,7 +1459,7 @@
 
 void UnmountTarget() {
   gchar *cmdline;
-  gint i;
+  gint i = 0;
 
 // target/miniroot and expert partitions should be unmounted first
 
@@ -1635,7 +1636,8 @@
 	gint part_len;
 	gint media_len;
 	gint model_len;
-	gint i, j;
+	gint i = 0;
+	gint j = 0;
 	gint hdd_size;
 
 	GList *harddisk_list = NULL;
@@ -1750,7 +1752,7 @@
 	gchar size_str[256];
 
 	gint size;
-	gint i;
+	gint i = 0;
 	gint id;
 
 	GList *list = NULL;
@@ -1925,7 +1927,7 @@
 	gchar device[256];
 
 	gint size;
-	gint i;
+	gint i = 0;
 
 	// get a list of partitions on the selected harddisk
 	cmdline = g_strdup_printf("fdisk -l /dev/%s",GetSelectedHarddisk());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV