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

Re: [PATCH] Don't set dir separator if path has drive spec


On 06/04/2013 08:48 AM, Doug Evans wrote:
-      need_dir_separator = !IS_DIR_SEPARATOR (in_pathname[0]);
>+      need_dir_separator = (!IS_DIR_SEPARATOR (in_pathname[0])
>+                           && !HAS_TARGET_DRIVE_SPEC (fskind, in_pathname));
>
>        /* Cat the prefixed pathname together.  */
>        temp_pathname = concat (sysroot,

Hi.  Looks right to me.

Doug, thanks for the review. I check the indentation in Emacs and the formatting looks right. Patch is committed.

--
Yao (éå)


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