Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A3EA9F2.E626B2B@ece.gatech.edu> Date: Mon, 18 Dec 2000 19:21:06 -0500 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com Subject: [Fwd: [21.1] work around cygwin readlink bug] Content-Type: multipart/mixed; boundary="------------1EF45BCAAF19A2DD05ECAF93" --------------1EF45BCAAF19A2DD05ECAF93 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Saw this message on the xemacs-nt mailing list. Is this a known bug in cygwin-1.1.6 ? --Chuck -------- Original Message -------- Subject: [21.1] work around cygwin readlink bug Date: Mon, 18 Dec 2000 16:54:05 +0000 From: Andy Piper To: xemacs-patches AT xemacs DOT org CC: xemacs-nt AT xemacs DOT org Cygwin 1.1.6 seems to have introduced a bug in readlink which stop runemacs working correctly. This patch works around it by forcing a trailing 0 after .exe. andy 2000-12-18 Andy Piper * runemacs.c (WinMain): force a trailing 0 on the filename. --------------1EF45BCAAF19A2DD05ECAF93 Content-Type: application/octet-stream; name="run.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="run.patch" LS0tIHJ1bmVtYWNzLmN+CU1vbiBEZWMgMTggMTY6NDg6MTEgMjAwMAorKysgcnVuZW1hY3MuYwlN b24gRGVjIDE4IDE2OjQ0OjIzIDIwMDAKQEAgLTExNCw2ICsxMTQsMTIgQEAKICAgICAgICAgICAg ICAgICBlbHNlCiAgICAgICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgIHN0cmNh dChuZXdfY21kbGluZSwgIlxcIik7CisJCSAgICAvKiAjIyMjIEhvcnJpYmxlIGtsdWRnZSB0byBn ZXQgcm91bmQgMS4xLjYgYnVnIGluIHJlYWRsaW5rLiAqLworICAgICAgICAgICAgICAgICAgICBw ID0gc3RycmNociAocmVhbF9uYW1lLCAnLicpOworICAgICAgICAgICAgICAgICAgICBpZiAocFsx XSA9PSAnZScgfHwgcFsxXSA9PSAnRScKKwkJCSYmIHBbMl0gPT0gJ3gnIHx8IHBbMl0gPT0gJ1gn CisJCQkmJiBwWzNdID09ICdlJyB8fCBwWzNdID09ICdFJykKKwkJICAgICAgcFs0XSA9IDA7CiAg ICAgICAgICAgICAgICAgICAgIHN0cmNhdChuZXdfY21kbGluZSwgcmVhbF9uYW1lKTsKICAgICAg ICAgICAgICAgICAgICAgc3RyY2F0KG5ld19jbWRsaW5lLCAiICIpOwogICAgICAgICAgICAgICAg ICAgfQo= --------------1EF45BCAAF19A2DD05ECAF93 Content-Type: text/plain; charset=us-ascii; name="nsmailJL.TMP" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nsmailJL.TMP" -------------------------------------------------------------- Dr Andy Piper Principal Consultant, BEA Systems Ltd --------------1EF45BCAAF19A2DD05ECAF93 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --------------1EF45BCAAF19A2DD05ECAF93--