www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - two patches for dsss

reply davidl <davidl nospam.org> writes:
------------46ZisF1wPa1CmsWbyKeqgA
Content-Type: text/plain; format=flowed; delsp=yes; charset=gbk
Content-Transfer-Encoding: 7bit

fix dsss incorrect abort by failure mkdir command(this causes troubles  
when you build dil). make dsss take advantage of d header files.
fix rebuild to behave correctly to the setting of "one at a time". fix  
rebuild threading problem on HT cpus which falsely report cpu cores. fix  
rebuild missing inline command problem. fix rebuild pragma(nolink, blah)   
problem.


-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
------------46ZisF1wPa1CmsWbyKeqgA
Content-Disposition: attachment; filename=rebuildpatch
Content-Type: application/octet-stream; name=rebuildpatch
Content-Transfer-Encoding: Base64

SW5kZXg6IGF0dHJpYi5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0gYXR0cmli
LmMJKHJldmlzaW9uIDk0MykNCisrKyBhdHRyaWIuYwkod29ya2luZyBjb3B5KQ0K
QEAgLTkzMyw3ICs5MzMsOSBAQA0KIAogdm9pZCBQcmFnbWFEZWNsYXJhdGlvbjo6
cGFyc2VwcmFnbWFzKE1vZHVsZSAqbSkKIHsKLSAgICBzZW1hbnRpYyhuZXcgU2Nv
cGUoKSk7CisgICAgU2NvcGUqIHNjPSBuZXcgU2NvcGUoKTsKKyAgICBzYy0+bW9k
dWxlPW07CisgICAgc2VtYW50aWMoc2MpOwogfQogCiB2b2lkIFByYWdtYURlY2xh
cmF0aW9uOjp0b0NCdWZmZXIoT3V0QnVmZmVyICpidWYsIEhkckdlblN0YXRlICpo
Z3MpCkluZGV4OiBtYXJzLmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBtYXJz
LmMJKHJldmlzaW9uIDk0MykNCisrKyBtYXJzLmMJKHdvcmtpbm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NlIFJlbGF0
aW9uTnVtYU5vZGU6CisgICAgICAgICAgICAvLyBOb24tTlVNQSBzeXN0ZW1zIHJl
cG9ydCBhIHNpbmdsZSByZWNvcmQgb2YgdGhpcyB0eXBlLgorICAgICAgICAgICAg
bnVtYU5vZGVDb3VudCsrOworICAgICAgICAgICAgYnJlYWs7CisKKyAgICAgICAg
Y2FzZSBSZWxhdGlvblByb2Nlc3NvckNvcmU6CisgICAgICAgICAgICBwcm9jZXNz
b3JDb3JlQ291bnQrKzsKKworICAgICAgICAgICAgLy8gQSBoeXBlcnRocmVhZGVk
IGNvcmUgc3VwcGxpZXMgbW9yZSB0aGFuIG9uZSBsb2dpY2FsIHByb2Nlc3Nvci4K
Ky8vICAgICAgICAgICAgbG9naWNhbFByb2Nlc3NvckNvdW50ICs9IENvdW50U2V0
Qml0cyhwdHItPlByb2Nlc3Nvck1hc2spOworICAgICAgICAgICAgYnJlYWs7CisK
KyAgICAgICAgY2FzZSBSZWxhdGlvbkNhY2hlOgorICAgICAgICAgICAgLy8gQ2Fj
aGUgZGF0YSBpcyBpbiBwdHItPkNhY2hlLCBvbmUgQ0FDSEVfREVTQ1JJUFRPUiBz
dHJ1Y3R1cmUgZm9yIGVhY2ggY2FjaGUuIAorICAgICAgICAgICAgQ2FjaGUgPSAm
cHRyLT5DYWNoZTsKKyAgICAgICAgICAgIGlmIChDYWNoZS0+TGV2ZWwgPT0gMSkK
KyAgICAgICAgICAgIHsKKyAgICAgICAgICAgICAgICBwcm9jZXNzb3JMMUNhY2hl
Q291bnQrKzsKKyAgICAgICAgICAgIH0KKyAgICAgICAgICAgIGVsc2UgaWYgKENh
Y2hlLT5MZXZlbCA9PSAyKQorICAgICAgICAgICAgeworICAgICAgICAgICAgICAg
IHByb2Nlc3NvckwyQ2FjaGVDb3VudCsrOworICAgICAgICAgICAgfQorICAgICAg
ICAgICAgZWxzZSBpZiAoQ2FjaGUtPkxldmVsID09IDMpCisgICAgICAgICAgICB7
CisgICAgICAgICAgICAg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ij1hIihyLmVheCksCisJICAgICAiPWIiKHIu
ZWJ4KSwKKwkgICAgICI9YyIoci5lY3gpLAorCSAgICAgIj1kIihyLmVkeCkKKwkg
ICAgOiJhIig0KSwKKwkgICAgICJjIigwKQorCSAgICApOworCSAgICByZXR1cm4g
KHIuZWF4ID4+MjYpICYgMHgzRiArIDE7CisJfQorICAgIH0KKyAgICAKICNlbGlm
IGRlZmluZWQoX1NDX05QUk9DRVNTT1JTX09OTE4pCiAgICAgaW50IG5wcm9jcyA9
IHN5c2NvbmYoX1NDX05QUk9DRVNTT1JTX09OTE4pOwogICAgIGlmIChucHJvY3Mg
PCAxKSByZXR1cm4gMTsKQEAgLTI2LDMgKzE2Myw0IEBADQogCiAjZW5kaWYKIH0K
Kwo=

------------46ZisF1wPa1CmsWbyKeqgA
Content-Disposition: attachment; filename=dssspatch
Content-Type: application/octet-stream; name=dssspatch
Content-Transfer-Encoding: Base64

SW5kZXg6IHNzcy9idWlsZC5kDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQotLS0gc3Nz
L2J1aWxkLmQJKHJldmlzaW9uIDk0MykNCisrKyBzc3MvYnVpbGQuZAkod29ya2lu
ZyBjb3B5KQ0KQEAgLTczLDcgKzczLDggQEANCiAgICAgICAgIG1rZGlyUCgiZHNz
c19vYmpzIiB+IHN0ZC5wYXRoLnNlcCB+IGNvbXBpbGVyU2hvcnQoKSk7CiAgICAg
ICAgIGJsIH49ICItb3Fkc3NzX29ianMiIH4gc3RkLnBhdGguc2VwIH4gY29tcGls
ZXJTaG9ydCgpIH4gIiAiOwogICAgIH0KLSAgICAKKyAgICBjaGFyW11bXSB1cGRh
dGVkSW50ZXJmYWNlRmlsZXM7CisgICAgY2hhcltdW10gbmV3ZmlsZXM7CiAgICAg
Ly8gMSkgTWFrZSAuZGkgZmlsZXMgZm9yIGV2ZXJ5dGhpbmcKICAgICBmb3JlYWNo
IChidWlsZDsg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DcgKzMyMyw2IEBADQogICAgICAgICAgICAgaWYgKCh0eXBlID09ICJsaWJyYXJ5
IiAmJiBsaWJzU2FmZSgpKSB8fAogICAgICAgICAgICAgICAgIGRvRG9jcyAvKiBu
ZWVkIHRvIGJ1aWxkIHRoZSBsaWJyYXJ5IHRvIGdldCBkb2NzICovIHx8CiAgICAg
ICAgICAgICAgICAgdGVzdExpYnMgLyogbmVlZCB0byBidWlsZCB0aGUgaWxicmFy
eSB0byB0ZXN0IGl0ICovKSB7Ci0gICAgICAgICAgICAgICAgCiAgICAgICAgICAg
ICAgICAgaWYgKGJ1aWxkRGVidWcpCiAgICAgICAgICAgICAgICAgICAgIGJ1aWxk
TGlicmFyeSgiZGVidWctIiB+IHRhcmdldCwgYmwsIGJmbGFncyB+IGRlYnVnZmxh
Z3MsIGRvY2JsLCBmaWxlTGlzdCwgc2V0dGluZ3MpOwogICAgICAgICAgICAgICAg
IGJ1aWxkTGlicmFyeSh0YXJnZXQsIGJsLCBiZmxhZ3MgfiByZWxlYXNlZmxhZ3Ms
IGRvY2JsLCBmaWxlTGlzdCwgc2V0dGluZ3MpOwpJbmRleDogc3NzL2NvbmYuZA0K
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PQ0KLS0tIHNzcy9jb25mLmQJKHJldmlzaW9uIDk0
MykNCisrKyBzc3MvY29uZi5kCSh3b3JraW5nIGNvcHkpDQpAQCAtMTA1Nyw3ICsx
MDU3LDE1IEBADQogICAgICAgICAgICAgCiAgICAgICAgIH0gZWxzZSB7CiAgICAg
ICAgICAgICAvLyBob3BlZnVsbHkgd2UgY2FuIGp1c3QgcnVuIGl0Ci0gICAgICAg
ICAgICB2U2F5U3lzdGVtRGllKGNtZCk7CisJICAgIHRyeQorCSAgICB7CisgICAg
ICAgICAgICAgICAgdlNheVN5c3RlbURpZShjbWQpOworCSAgICB9CisJICAgIGNh
dGNoKFByb2Nlc3NEZWF0aEV4Y2VwdGlvbiBlKQorCSAgICB7CisJCWlmIChjbWRb
MC4uNV0gIT0gIm1rZGlyIikKKwkJICAgIHRocm93IGU7CisJICAgIH0KICAgICAg
ICAgfQogICAgIH0KICAgICAK

------------46ZisF1wPa1CmsWbyKeqgA--
Apr 06 2009
parent Bill Baxter <wbaxter gmail.com> writes:
There is a tracker for DSSS bugs on dsource.  You should probably
attach these to a ticket there too, to make sure they are not lost in
newsgroup limbo.  (But I agree posting something about it here too was
a good thing to do)

--bb

2009/4/7 davidl <davidl nospam.org>:
 fix dsss incorrect abort by failure mkdir command(this causes troubles wh=

 you build dil). make dsss take advantage of d header files.
 fix rebuild to behave correctly to the setting of "one at a time". fix
 rebuild threading problem on HT cpus which falsely report cpu cores. fix
 rebuild missing inline command problem. fix rebuild pragma(nolink, blah)
  problem.


 --
 =CA=B9=D3=C3 Opera =B8=EF=C3=FC=D0=D4=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE=BF=CD=

Apr 06 2009