Mail Archives: cygwin/1998/03/12/05:35:16
In article <3514df62 DOT 5658566 AT berlin DOT snafu DOT de>, Wolfgang Guelcker
<wgue AT berlin DOT snafu DOT de> writes
>The problems arise due to a bug in the B19 cygwin API function
>"readlink()".
[snip details+patch]
Many thanks, much appreciated (RCS is quite important to us!) Do you
have any view on the change I introduced to make things work correctly
in B19 "text" mode, i.e.:
diff orig/rcs-5.7/src/conf.sh /usr/local/src/rcs-5.7/src/conf.sh
550c550
< # define FOPEN_R_WORK (Expand==BINARY_EXPAND ? "r" : "rb")
---
> # define FOPEN_R_WORK (Expand==BINARY_EXPAND ? "rb" : "r")
552,553c552,553
< # define FOPEN_W_WORK (Expand==BINARY_EXPAND ? "w" : "wb")
< # define FOPEN_WPLUS_WORK (Expand==BINARY_EXPAND ? "w+" : "w+b")
---
> # define FOPEN_W_WORK (Expand==BINARY_EXPAND ? "wb" : "w")
> # define FOPEN_WPLUS_WORK (Expand==BINARY_EXPAND ? "w+b" : "w+")
My reading is that the workfile should be opend in "text" mode (r/w)
unless doing a binary expand, when it should be in "raw" mode (rb/wb)?
(Without this change ci fails on text!=binary mounts, all is ok on
text=binary either way). Is this an error in conf.sh or have I missed
the bus?
--
Oooo. | Ian Lowrey
.oooO ( ) | ian AT visage DOT demon DOT co DOT uk
( ) ) / |
\ ( (_/ | "All dressed up with no place to go
\_) | On a music box that never stops..."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -