Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86020 Details for
Bug 132055
games-fps/vavoom (new ebuild) (Advanced Source port for Doom, Heretic, Hexen and Strife)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix glvis process bug
vavoom-glvis-linux.diff (text/plain), 1.05 KB, created by
Davide Cendron (RETIRED)
on 2006-05-02 13:49:22 UTC
(
hide
)
Description:
Patch to fix glvis process bug
Filename:
MIME Type:
Creator:
Davide Cendron (RETIRED)
Created:
2006-05-02 13:49:22 UTC
Size:
1.05 KB
patch
obsolete
>--- utils/glvis/level.cpp 2006-05-01 14:32:35.000000000 +0200 >+++ utils/glvis/level.cpp 2006-05-01 15:04:17.000000000 +0200 >@@ -33,8 +33,6 @@ > > // MACROS ------------------------------------------------------------------ > >-#define TEMP_FILE "$glvis$$.$$$" >- > // TYPES ------------------------------------------------------------------- > > // EXTERNAL FUNCTION PROTOTYPES -------------------------------------------- >@@ -864,6 +862,7 @@ > { > char filename[1024]; > char destfile[1024]; >+ char tempfile[1024]; > char bakext[8]; > > if (Owner.Malloc && Owner.Free) >@@ -907,7 +906,13 @@ > strcpy(bakext, ".~wa"); > } > >- outwad.Open(TEMP_FILE, glwad->wadid); >+ >+ strcpy(tempfile, destfile); >+ StripFilename(tempfile); >+ if (tempfile[0]) >+ strcat(tempfile, "/"); >+ strcat(tempfile, "$glvis$$.$$$"); >+ outwad.Open(tempfile, glwad->wadid); > > // Process lumps > if (mainwad == glwad) >@@ -931,7 +936,7 @@ > strcat(filename, bakext); > remove(filename); > rename(destfile, filename); >- rename(TEMP_FILE, destfile); >+ rename(tempfile, destfile); > } > > } // namespace VavoomUtils
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 132055
:
86018
|
86020
|
86437
|
86438
|
90377
|
90874
|
90875
|
92646
|
92647
|
92745
|
93212
|
93213
|
93214
|
93750
|
93751
|
93996
|
93997
|
93998
|
94445
|
95638
|
97585
|
97586
|
98927
|
98928
|
100878
|
101353
|
101362
|
104389
|
104390
|
104932
|
104934
|
104950
|
104951
|
107835
|
110097
|
114704
|
114706
|
120143
|
120145
|
120146
|
120148
|
121294
|
121296
|
122586
|
122587
|
122732
|
122734
|
122735
|
122750
|
122752
|
127280
|
132340
|
132341
|
132952
|
132954
|
137756
|
137757
|
141736
|
142349
|
142350
|
142500
|
142673
|
148886
|
148888
|
157689
|
170775
|
170835
|
171217
|
184901
|
187639
|
187640
|
233793
|
236793
|
244625
|
244627
|
258606
|
282773
|
324270
|
324274