Boost logo

Boost-Build :

From: Thomas Witt (witt_at_[hidden])
Date: 2001-12-04 06:00:10


Hi,

The attached patch (diff -c) fixes commandfile handling. It boils down to :
using array indexing in piecemeal actions is never a good idea.

Thomas

-- 
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
 --------------Boundary-00=_AWFTL0OAL8IJ02OYKDA9 Content-type: text/x-diff; charset="utf-8"; name="boost-base.diff"
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="boost-base.diff"
KioqIGJvb3N0LWJhc2UuamFtCVR1ZSBEZWMgIDQgMTA6NTM6MjYgMjAwMQ0KLS0tIGJvb3N0LWJh
c2UtZml4ZWQuamFtCVR1ZSBEZWMgIDQgMTA6NTE6NTIgMjAwMQ0KKioqKioqKioqKioqKioqDQoq
KiogMTM4NCwxNDA5ICoqKioNCiAgICAgIHsNCiAgICAgICAgICAjIEhhbmRsZSB0aGUgZmlyc3Qg
dGFyZ2V0IHNwZWNpYWxseSwgc28gdGhhdCB0aGUgZmlyc3Qgc291cmNlIGZpbGUNCiAgICAgICAg
ICAjIHdpbGwgY2xlYXIgdGhlIGNvbW1hbmQgZmlsZQ0KISAgICAgICAgIGNvbW1hbmQtZmlsZS1k
dW1wLTFzdCAkKGNvbW1hbmQpIDogJChzb3VyY2VzKSA7DQogICAgICB9ICAgIA0KICAgICAgDQog
ICAgICBpZiAkKHNvdXJjZXNbMl0pDQogICAgICB7DQogICAgICAgICAgIyBUaGVuIGZpbGwgdGhl
IHJlc3QgdXAgcGllY2VtZWFsDQohICAgICAgICAgY29tbWFuZC1maWxlLWR1bXAtcmVzdCAkKGNv
bW1hbmQpIDogJChzb3VyY2VzKSA7DQogICAgICB9DQogIH0NCiAgDQogICMgY29tbWFuZC1maWxl
LWR1bXAtMXN0OiBkdW1wIHRoZSBmaXJzdCBzb3VyY2UgcGF0aCBp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dWlldGx5
IGNvbW1hbmQtZmlsZS1kdW1wLTFzdA0KICB7DQohICAgICBlY2hvICIkKD4pIiA+ICIkKDwpIg0K
ICB9DQogIA0KICAjIGNvbW1hbmQtZmlsZS1kdW1wOiBkdW1wIHRoZSByZW1haW5pbmcgc291cmNl
IHBhdGhzIGludG8gdGhlIHRhcmdldA0KICBhY3Rpb25zIHF1aWV0bHkgcGllY2VtZWFsIGNvbW1h
bmQtZmlsZS1kdW1wLXJlc3QNCiAgew0KISAgICAgZWNobyAiJCg+KSIgPj4gIiQoPCkiDQogIH0N
CiAgDQogICMgQ2xlYW4gdXAgdGhlIHRlbXBvcmFyeSBDT01NQU5ELUZJTEUgdXNlZCB0byBidWls
ZCBUQVJHRVRTLg0K
 --------------Boundary-00=_AWFTL0OAL8IJ02OYKDA9-- 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk