wok-current annotate rarian/stuff/user-segfault.patch @ rev 10169

Up: perl-gtk2 to 1.222.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 21:47:51 2011 +0000 (2011-05-20)
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;