Kinsey Moore started a new discussion on cpukit/libmisc/shell/main_getenv.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1241#note_150069

 >  
 >    if (argc != 2)
 >    {
 > -    printf ("error: only argument is the variable name\n");
 > +    printf ("error: -a or the variable name\n");
 >      return 1;
 >    }
 >  
 > +  if (strcmp("-a", argv[1]) == 0) {
 > +    char** e = environ;
 > +    while (e != NULL && *e != NULL) {
 > +      printf("%s\n", *e);

Formatting in this file appears to use a space between the function name and 
parameter list.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1241#note_150069
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to