[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/mkisofs.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/mkisofs.c |
Date: |
Mon, 31 Jan 2005 21:35:30 -0500 |
Index: graveman/current/src/mkisofs.c
diff -u graveman/current/src/mkisofs.c:1.3 graveman/current/src/mkisofs.c:1.4
--- graveman/current/src/mkisofs.c:1.3 Tue Jan 25 03:32:12 2005
+++ graveman/current/src/mkisofs.c Tue Feb 1 02:35:19 2005
@@ -127,6 +127,7 @@
GIOChannel *Lcomerr, *Lcom;
guint Lcomerrevent, Lcomevent;
gint *Lcont = (gint *)g_hash_table_lookup(Ahash, "cont");
+ gboolean *Labort = (gboolean *) g_hash_table_lookup(Ahash, "gabort");
gchar **Ltmpdir = (gchar **)g_hash_table_lookup(Ahash, "tmpdir");
gchar **Lextrapara = (gchar **)g_hash_table_lookup(Ahash, "extrapara");
gint *Lpid = (gint *) g_hash_table_lookup(Ahash, "pid");
@@ -162,19 +163,17 @@
Lcom = g_io_channel_unix_new( g_out );
g_io_channel_set_encoding (Lcom, NULL, NULL);
-// g_io_channel_set_buffered(Lcom, FALSE);
g_io_channel_set_flags( Lcom, G_IO_FLAG_NONBLOCK, NULL );
Lcomevent = g_io_add_watch (Lcom, (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI),
mkisofs_makeimage_callback, Ahash);
Lcomerr = g_io_channel_unix_new( g_err );
g_io_channel_set_encoding (Lcomerr, NULL, NULL);
-// g_io_channel_set_buffered(Lcomerr, FALSE);
g_io_channel_set_flags( Lcomerr, G_IO_FLAG_NONBLOCK, NULL );
Lcomerrevent = g_io_add_watch (Lcomerr, (G_IO_IN | G_IO_HUP | G_IO_ERR |
G_IO_PRI),
mkisofs_makeimage_callback, Ahash);
_DEB("debut !!");
- while (*Lcont > 0) {
+ while (*Lcont > 0 && *Labort == FALSE) {
gtk_main_iteration();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Graveman-cvs] Changes to graveman/current/src/mkisofs.c,
sylvain cresto <=