[Frugalware-darcs] setup: formatdisk/mountdev(): do not allow mount points twice

VMiklos vmiklos at frugalware.org
Sat Jul 14 19:31:49 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=setup;a=darcs_commitdiff;h=20070714173004-e2957-34f6afc662718a57a78d446c249b81b901153817.gz;

[formatdisk/mountdev(): do not allow mount points twice
VMiklos <vmiklos at frugalware.org>**20070714173004
 closes #322
] {
hunk ./src/plugins/formatdisk.c 416
-	if(fw_inputbox(g_strdup_printf(_("Select mount point for %s"), dev),
+	while(1)
+	{
+		if(fw_inputbox(g_strdup_printf(_("Select mount point for %s"), dev),
hunk ./src/plugins/formatdisk.c 424
+		if(!findmount(dialog_vars.input_result, 1))
+			break;
+	}
}


More information about the Frugalware-darcs mailing list