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

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-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;