wok-next annotate rarian/stuff/user-segfault.patch @ rev 11310
Up: perl-libwww to 6.03. Perl-libwww is the same as perl-lwp-useragent so i remove perl-lwp-useragent.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 13 12:50:40 2011 +0000 (2011-11-13) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@6739 | 1 --- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200 |
slaxemulator@6739 | 2 +++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200 |
slaxemulator@6739 | 3 @@ -160,6 +160,11 @@ |
slaxemulator@6739 | 4 { |
slaxemulator@6739 | 5 char *filename = NULL; |
slaxemulator@6739 | 6 char *user = getenv ("USERNAME"); |
slaxemulator@6739 | 7 + |
slaxemulator@6739 | 8 + if (user == NULL) { |
slaxemulator@6739 | 9 + user = getenv ("USER"); |
slaxemulator@6739 | 10 + } |
slaxemulator@6739 | 11 + |
slaxemulator@6739 | 12 char *basepath = NULL; |
slaxemulator@6739 | 13 int i=0; |
slaxemulator@6739 | 14 int last = 0; |