[PATCH] fix _mkdir parameter error.[RSB]

Joel Sherrill joel at rtems.org
Fri Apr 1 13:20:52 UTC 2022


Chris should comment on this technically.

My concern is that the < and > in this patch were converted to HTML.
I do not believe this will apply. I think your email client converted it
from ASCII to HTML.

On Fri, Apr 1, 2022 at 4:25 AM zhengxiaojun <jameszxj at gmail.com> wrote:

> It is a RSB pacth. 
> git send-eamil has no information about it.
>
>
> ------------------ Original ------------------
> From:
>                                                   "zhengxiaojun"
>                                                                         <
> jameszxj at gmail.com>;
> Date: Fri, Apr 1, 2022 11:41 AM
> To: "devel"<devel at rtems.org>;
> Cc: "zhengxiaojun"<jameszxj at gmail.com>;
> Subject: [PATCH] fix _mkdir parameter error.
>
>
>
> Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
> ---
> tester/covoar/ReportsBase.cc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc
> index 0fb9ce0..eb56c4f 100644
> --- a/tester/covoar/ReportsBase.cc
> +++ b/tester/covoar/ReportsBase.cc
> @@ -65,7 +65,7 @@ void ReportsBase::OpenFile(
>
>  // Create the output directory if it does not already exist
> #ifdef _WIN32
> -  sc = _mkdir( symbolSetOutputDirectory );
> +  sc = _mkdir( symbolSetOutputDirectory.c_str() );
> #else
>  sc = mkdir( symbolSetOutputDirectory.c_str(), 0755 );
> #endif
> --
> 2.35.1
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>


More information about the devel mailing list