This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: [eliz@is.elta.co.il: DOSish filenames and CRLF source files]



   Date: Sun, 27 Jun 1999 18:51:28 +0300 (IDT)
   From: Eli Zaretskii <eliz@is.elta.co.il>

   The following patches solve some problems with DOS/Windows file names and 
   with source files which have CRLF EOLs:

Thanks much, the patches seem reasonable and so I've installed them into
the repository.

								Stan

   1999-06-26  Eli Zaretskii  <eliz@is.elta.co.il>

	   * source.c (mod_path) [_WIN32 || __DJGPP__]: Don't remove trailing
	   slash from "d:/".  Don't overstep the beginning of name.
	   [_WIN32 || __MSDOS__]: Convert "d:" to "d:.", otherwise appending
	   a slash changes its meaning.
	   (openp): Use SLASH_P, not equality with SLASH_CHAR.
	   (print_source_lines_base) [CRLF_SOURCE_FILES]: Skip \r only before
	   a \n.
	   (forward_search_command) [CRLF_SOURCE_FILES]: Remove \r at the end
	   of all lines.
	   (reverse_search_command) [CRLF_SOURCE_FILES]: Likewise.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]