Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 146398 Details for
Bug 198048
stratagus build and run issues in devel
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing bos 2.0.1
bos-2.0.1-fixes.patch (text/plain), 2.30 KB, created by
Hans de Goede
on 2007-01-24 11:10:06 UTC
(
hide
)
Description:
Patch fixing bos 2.0.1
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-01-24 11:10:06 UTC
Size:
2.30 KB
patch
obsolete
>diff -ur data.bos.orig/scripts/guichan.lua data.bos/scripts/guichan.lua >--- data.bos.orig/scripts/guichan.lua 2006-12-04 22:05:50.000000000 +0100 >+++ data.bos/scripts/guichan.lua 2007-01-24 11:56:37.000000000 +0100 >@@ -127,7 +127,7 @@ > lister = ListFilesInDirectory > end > fileslist = lister(path) >- for i,f in fileslist do >+ for i,f in ipairs(fileslist) do > if (string.find(f, filter)) then > mapslist[u] = f > u = u + 1 >Only in data.bos/scripts: guichan.lua~ >diff -ur data.bos.orig/scripts/stratagus.lua data.bos/scripts/stratagus.lua >--- data.bos.orig/scripts/stratagus.lua 2006-12-09 17:10:51.000000000 +0100 >+++ data.bos/scripts/stratagus.lua 2007-01-24 11:20:13.000000000 +0100 >@@ -49,7 +49,7 @@ > ------------------------------------------------------------------------------- > playlist = {} > local musiclist = ListFilesInDirectory("music/") >-for i,f in musiclist do >+for i,f in ipairs(musiclist) do > if(string.find(f, ".ogg$") or string.find(f, ".wav$") or string.find(f, ".mp3$")) then > print("Added music file:" .. f) > playlist[i] = f >Only in data.bos/scripts: stratagus.lua~ >diff -ur data.bos.orig/scripts/units.lua data.bos/scripts/units.lua >--- data.bos.orig/scripts/units.lua 2006-11-01 19:19:36.000000000 +0100 >+++ data.bos/scripts/units.lua 2007-01-24 11:58:39.000000000 +0100 >@@ -38,19 +38,19 @@ > end > > function AllowDefaultUnits() >- for unit, default in AllowedUnits do >+ for unit, default in ipairs(AllowedUnits) do > DefineAllow(unit, default) > end > end > > function DisallowAllUnits() >- for unit, default in AllowedUnits do >+ for unit, default in ipairs(AllowedUnits) do > DefineAllow(unit, "FFFFFFFFFFFFFFFF") > end > end > > function AllowAllUnits() >- for unit, default in AllowedUnits do >+ for unit, default in ipairs(AllowedUnits) do > DefineAllow(unit, "AAAAAAAAAAAAAAAA") > end > end >@@ -166,10 +166,10 @@ > local ff > > list = ListDirsInDirectory("units/") >-for i,f in list do >+for i,f in ipairs(list) do > if not(string.find(f, "^%.")) then > local subdirlist = ListFilesInDirectory("units/" .. f) >- for i, ff in subdirlist do >+ for i, ff in ipairs(subdirlist) do > if(string.find(ff, "^unit-.*%.lua$")) then > print("Loading unit: " .. ff) > Load("units/"..f.."/"..ff) >Only in data.bos/scripts: units.lua~
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 198048
:
132109
|
132110
|
132111
|
141196
|
141198
|
146397
| 146398