[PATCH] Modified Hello World task by Prateek

Prateek Pardeshi prateekp99 at zoho.com
Tue Feb 9 14:33:13 UTC 2021


Hi Gedare, 

I've provided my full name in the .gitconfig file, also for some reason my gmail is also getting attached as "cc" with the git patch.
I had set my name in the config file globally before. Attached screenshot for more details.


I'm not sure of the reason, Could you please help me out in this?


Thanks,
Prateek




---- On Tue, 09 Feb 2021 19:36:30 +0530 Gedare Bloom <gedare at rtems.org> wrote ----


Hi Prateek, 
 
On Tue, Feb 9, 2021 at 3:08 AM Prateek Pardeshi <mailto:prateekp99 at zoho.com> wrote: 
> 
> From: pp <mailto:prateekpardeshi6 at gmail.com> 
> 
Please provide a full author name in your git.username config setting. 
 
> --- 
>  testsuites/samples/hello/init.c | 47 +++++++++++++++++++++++++++++++-- 
>  1 file changed, 45 insertions(+), 2 deletions(-) 
> 
> diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c 
> index 34ded37c55..47ac4b27d2 100644 
> --- a/testsuites/samples/hello/init.c 
> +++ b/testsuites/samples/hello/init.c 
> @@ -14,7 +14,7 @@ 
>  #include <rtems.h> 
>  #include <tmacros.h> 
> 
> -const char rtems_test_name[] = "HELLO WORLD"; 
> +const char rtems_test_name[] = "HELLO OPEN SOURCE WORLD"; 
> 
>  static rtems_task Init( 
>    rtems_task_argument ignored 
> @@ -22,7 +22,50 @@ static rtems_task Init( 
>  { 
>    rtems_print_printer_fprintf_putc(&rtems_test_printer); 
>    TEST_BEGIN(); 
> -  printf( "Hello World\n" ); 
> + 
> +  //Printing Hello World for RTEMS 
> +  printf( "\nHello World, Open Source is amazing!\n\n" ); 
> + 
> + 
> +  /*Starting of Star Pattern Code*/ 
> +  int x = 0,y = 0; 
> +  int size = 8; 
> +  for(x=(size/2); x<=size; x+=2) 
> +  { 
> +      for(y=1; y<(size-x); y+=2) 
> +      { 
> +          printf(" "); 
> +      } 
> +      for(y=1; y<=x; ++y) 
> +      { 
> +          printf("*"); 
> +      } 
> +      for(y=1; y<=(size-x); ++y) 
> +      { 
> +          printf(" "); 
> +      } 
> +      for(y=1; y<=x; ++y) 
> +      { 
> +          printf("*"); 
> +      } 
> +      printf("\n"); 
> +  } 
> + 
> +  for(x=size; x>=1; --x) 
> +  { 
> +      for(y=x; y<size; ++y) 
> +      { 
> +          printf(" "); 
> +      } 
> +      for(y=1; y<=(x*2)-1; ++y) 
> +      { 
> +          printf("*"); 
> +      } 
> +      printf("\n"); 
> +  } 
> +/*End of Star Pattern Code*/ 
> + 
> + 
>    TEST_END(); 
>    rtems_test_exit( 0 ); 
>  } 
> -- 
> 2.25.1 
> 
> 
> _______________________________________________ 
> devel mailing list 
> mailto:devel at rtems.org 
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210209/9a1d57d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2021-02-09 19-53-32.png
Type: image/png
Size: 26748 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210209/9a1d57d1/attachment-0001.png>


More information about the devel mailing list