PKGBUILDs/extra/mrxvt/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
2009-10-09 21:23:22 -05:00

13 lines
380 B
Diff

Index: src/tabbar.c
===================================================================
--- src/tabbar.c (revision 337)
+++ src/tabbar.c (working copy)
@@ -1327,7 +1327,7 @@
if( p.we_wordc > 1)
rxvt_msg( DBG_ERROR, DBG_TABBAR,
"Too many words when expanding %s\n", cwdOption );
- else
+ else if( NOT_NULL( *p.we_wordv ) )
{
filename = *p.we_wordv;