wok diff rarian/stuff/user-segfault.patch @ rev 14379
Move from undigest: faenza-icon-theme-emblems fbpdf ffmpegthumbnailer-dev ffmpegthumbnailer foobillardplus-music foobillardplus gnucash hg-git moserial ptxdist re-alpine sbackup slib tumbler-dev tumbler vfu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 21:54:08 2013 +0200 (2013-04-22) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rarian/stuff/user-segfault.patch Mon Apr 22 21:54:08 2013 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +--- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200 1.5 ++++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200 1.6 +@@ -160,6 +160,11 @@ 1.7 + { 1.8 + char *filename = NULL; 1.9 + char *user = getenv ("USERNAME"); 1.10 ++ 1.11 ++ if (user == NULL) { 1.12 ++ user = getenv ("USER"); 1.13 ++ } 1.14 ++ 1.15 + char *basepath = NULL; 1.16 + int i=0; 1.17 + int last = 0;