This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When dealing with source files containing DOS CR/LF line-endings on Cygwin I found that these did not get correctly displayed in TUI's source window. Every line from the top of the window is followed by an extra empty line. This can happen on Cygwin if you open a DOS file with CR/LF line-endings on a binary mounted file system. The fix is to add some logic to tuiSetSourceContent to swallow the extra LF characters[B. Changelog entry and patch attached. 2002-10-01 Ton van Overbeek (v-overbeek@cistron.nl) * tuiSource.c (tuiSetSourceContent): Eat the extra '\n' in source files containing '\r\n' line endings. Ton van Overbeek
Attachment:
tui-dossource.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |