RTEMS | Draft: libcsupport: Reimplement POSIX passwd and group entry APIs (!1250)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue May 19 21:43:23 UTC 2026




Gedare Bloom started a new discussion on cpukit/libcsupport/src/getgrent.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1250#note_150561

 > +      return 1;
 > +    }
 > +
 > +    if (!isspace((unsigned char) *line)) {
 > +      return 0;
 > +    }
 >  
 > -  return pthread_getspecific(grp_key);
 > +    ++line;
 > +  }
 > +
 > +  return 1;
 >  }
 >  
 > -struct group *getgrent(void)
 > +static int group_read_line(

same here. add some comments to explain

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260519/f756c3ba/attachment.htm>


More information about the bugs mailing list