src/encoding.d (encoding_from_name) has a wrong cygwin textmount logic:
#if defined(WIN32) || (defined(UNIX) && (O_BINARY != 0))
pushSTACK(S(Kdos)); /* :line-terminator */
not binary => textmount: doseol
Attached patch (with changelog) fixes that. Thanks to Aaron Brown
<arundelo@hotmail.com> for finding this.
Sam Steingold
None
None
Public
|
Date: 2007-01-31 23:50 I concur with Sam: The essential question is "what do other programs on the |
|
Date: 2007-01-31 15:10 good. |
|
Date: 2007-01-30 07:12 Thanks, |
|
Date: 2007-01-29 03:56 http://clisp.podval.org/impnotes/encoding.html#line-term-default |
|
Date: 2007-01-29 03:13 thanks for the reference to the cygwin mailing list. |
|
Date: 2007-01-28 23:24 The logic should be: |
|
Date: 2007-01-28 20:56 what should the logic be? |
|
Date: 2007-01-28 19:04 $ grep _FBINARY /usr/include/sys/fcntl.h |
|
Date: 2007-01-28 01:57 how is O_BINARY defined in cygwin? |
|
Date: 2007-01-27 23:02 Sorry, I thought the UNIX logic applied to CYGWIN only. |
|
Date: 2007-01-27 23:00 File Added: cyg-encoding2.patch |
|
Date: 2007-01-26 03:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2007-01-11 22:06 This patch does not seem right. |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2007-01-29 03:13 | 2007-01-30 07:12 | rurban |
| status_id | Pending | 2007-01-30 07:12 | rurban |
| close_date | - | 2007-01-29 03:13 | sds |
| status_id | Open | 2007-01-29 03:13 | sds |
| summary | [PATCH] fix cygwin default encoding | 2007-01-28 01:57 | sds |
| File Added | 213401: cyg-encoding2.patch | 2007-01-27 23:00 | rurban |
| status_id | Closed | 2007-01-27 23:00 | rurban |
| close_date | 2007-01-26 03:20 | 2007-01-27 23:00 | rurban |
| close_date | 2007-01-11 22:06 | 2007-01-26 03:20 | sf-robot |
| status_id | Pending | 2007-01-26 03:20 | sf-robot |
| data_type | 301355 | 2007-01-11 22:06 | sds |
| close_date | - | 2007-01-11 22:06 | sds |
| resolution_id | None | 2007-01-11 22:06 | sds |
| assigned_to | nobody | 2007-01-11 22:06 | sds |
| status_id | Open | 2007-01-11 22:06 | sds |
| File Added | 210898: cyg-encoding.patch | 2007-01-11 21:35 | rurban |
Copyright © 2009 SourceForge, Inc. All rights reserved. Terms of Use