wok-6.x annotate rarian/stuff/user-segfault.patch @ rev 6739
Added rarian.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 16 19:48:05 2010 +0000 (2010-10-16) |
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; |