[texworks] fails to start without dbus running due to logic error

Atsuhito Kohda kohda at pm.tokushima-u.ac.jp
Thu May 5 10:03:19 CEST 2011


Hi all,

I, a maintainer of TeXworks of Debian, got the following 
bug report recently (Bug#625543).

> The following patch fixes a bug in the control flow that causes
> texworks to not start without a running dbus daemon.
> 
> --- texworks-0.4.0.orig/src/main.cpp
> +++ texworks-0.4.0/src/main.cpp
> @@ -141,8 +141,8 @@
>  					continue;
>  				interface.call("openFile", fi.absoluteFilePath(), fileToOpen.position);
>  			}
> +			return 0;
>  		}
> -		return 0;
>  	}
>  
>  	new TWAdaptor(&app);

If this is a real problem, I prefer to be fixed in an upstream
than to be fixed in locally Debian so I forward this to the list.

I'm sorry if this is an already known problem or if this is 
not an appropriate list to ask a bug.

Best regards,	   	       	 2011-5-5(Thu)

-- 
 Debian Developer - much more I18N of Debian
 Atsuhito Kohda <kohda AT debian.org>
 Department of Math., Univ. of Tokushima


More information about the texworks mailing list