Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204103 Details for
Bug 284350
x11-wm/scrotwm (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch #2 for scrotwm-0.9.6
02-scrotwm-0.9.6-check-before-preloading-libswmhack.diff (text/plain), 604 bytes, created by
Massimo Gengarelli
on 2009-09-14 17:35:50 UTC
(
hide
)
Description:
Patch #2 for scrotwm-0.9.6
Filename:
MIME Type:
Creator:
Massimo Gengarelli
Created:
2009-09-14 17:35:50 UTC
Size:
604 bytes
patch
obsolete
>--- scrotwm-0.9.6/scrotwm.c 2009-09-14 00:29:35.000000000 +0200 >+++ scrotwm-0.9.6.devl/scrotwm.c 2009-09-14 11:24:58.000000000 +0200 >@@ -918,6 +918,7 @@ > { > char *ret; > int si; >+ struct stat sb; > > DNPRINTF(SWM_D_MISC, "spawn: %s\n", args->argv[0]); > /* >@@ -928,7 +929,10 @@ > if (fork() == 0) { > if (display) > close(ConnectionNumber(display)); >- setenv("LD_PRELOAD", SWM_LIB, 1); >+ if (stat(SWM_LIB, &sb) != -1) { >+ if (S_ISREG(sb.st_mode)) >+ setenv("LD_PRELOAD", SWM_LIB, 1); >+ } > if (asprintf(&ret, "%d", r->ws->idx)) { > setenv("_SWM_WS", ret, 1); > free(ret);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 284350
:
203634
|
203636
|
203637
|
203639
|
203640
|
203947
|
203948
|
203950
|
203952
|
204100
|
204102
|
204103
|
204105
|
204107
|
206282
|
206283
|
206319
|
206408
|
206410
|
206518
|
206520
|
206731
|
206967
|
206969
|
206970
|
206974
|
207019
|
210444
|
224619
|
224639
|
224641
|
224651
|
224655
|
253387