Moo!
gbch-xr castrates the job title when you use a queue name. The queue
name is prepended with a ':', and the job title's first character is cut
off.
I tracked it down to src/xbq_jcall.c cb_jqueue().
I checked the functionality of gbch-xr after patching, but i DID NOT
check if it affects some other GTK component.
See attached file.
Jan "TheBonsai"
differences between files attachment (xbq_jcall_jobtitle.diff)
|
--- gnubatch.orig/src/gtk/xbq_jcall.c 2010-08-26 19:25:03.907701912 +0200
+++ gnubatch/src/gtk/xbq_jcall.c 2010-08-31 20:07:36.211702630 +0200
@@ -351,7 +351,7 @@
unsigned tlng = strlen(cp) + strlen(cj->jobqueue) + 2;
if (!(ntit = malloc(tlng)))
ABORT_NOMEM;
- sprintf(ntit, "%s:%s", cj->jobqueue, cp+1);
+ sprintf(ntit, "%s:%s", cj->jobqueue, cp);
}
else
ntit = stracpy(cp);