Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Mon, 20 May 2002 16:27:21 +0400 From: egor duda Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <122164627431.20020520162721@logos-m.ru> To: cygwin-apps AT cygwin DOT com Subject: mknetrel generalisation patch MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------D632A7F0AD6A2" Note-from-DJ: This may be spam ------------D632A7F0AD6A2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! attached is a patch to make possible to use mknetrel on host different from sourceware. build-host-specific parameters are read from ~/.mknetrel file. i've tried to preserve old behaviour, but, possibly, there's no real need for default initializations in read_user_config() Comments? egor. mailto:deo AT logos-m DOT ru icq 5165414 fidonet 2:5020/496.19 ------------D632A7F0AD6A2 Content-Type: application/octet-stream; name="mknetrel.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mknetrel.diff" SW5kZXg6IG1rbmV0cmVsDQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2cy9jeWd3aW4tYXBwcy9t a25ldHJlbC9iaW4vbWtuZXRyZWwsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjE3DQpkaWZmIC11 IC1wIC0yIC1yMS4xNyBta25ldHJlbA0KLS0tIG1rbmV0cmVsCTIwIE1heSAyMDAyIDAzOjQzOjI4 IC0wMDAwCTEuMTcNCisrKyBta25ldHJlbAkyMCBNYXkgMjAwMiAxMjowODowMiAtMDAwMA0KQEAg LTEsNCArMSwxOCBAQA0KICMhL2Jpbi9zaA0KIA0KK3JlYWRfdXNlcl9jb25maWcoKSB7DQorICAg ICBbIC1yICIkSE9NRS8ubW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zIzNiw1IEBAIGRvdXNyc3R1ZmYoKSB7DQogCSAgICAqLm8p IDs7DQogCSAgICAqLmEpIDs7DQorCSAgICAqYmluL1wqKSA7Ow0KIAkgICAgKikgYT1gZmlsZSAk ZiB8IGZncmVwICJNUyBXaW5kb3dzIFBFImANCiAJICAgICAgIFsgLW4gIiRhIiBdICYmIG12ICRm ICRmLmV4ZQ0K ------------D632A7F0AD6A2 Content-Type: application/octet-stream; name="mknetrel.ChangeLog" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mknetrel.ChangeLog" MjAwMi0wNS0yMCAgRWdvciBEdWRhICA8ZGVvQGxvZ29zLW0ucnU+DQoNCgkqIG1rbmV0cmVsIChy ZWFkX3VzZXJfY29uZmlnKTogTmV3IGZ1bmN0aW9uLiBSZWFkIGhvc3Qtc3BlY2lmaWMNCglwYXJh bWV0ZXJzIGZyb20gfi8ubWtuZXRyZWwgZmlsZS4NCgkoc2V0dmFycyk6IEFjY29tb2RhdGUgdGhp cyBjaGFuZ2UuDQoJKHNldHVwKTogRGl0dG8uDQoJKG15c3RyaXApOiBEaXR0by4NCgkoZG9jb25m aWcpOiBEaXR0by4NCgkoZG91c3JzdHVmZik6IEhhbmRsZSB0aGUgY2FzZSB3aGVuIGJpbi8gb3Ig c2Jpbi8gZGlyZWN0b3J5IGlzIGVtcHR5Lg0K ------------D632A7F0AD6A2--