<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br></span>
You can compile code with -D_POSIX_PTHREAD_SEMANTICS to get standard behavior (see getgrnam(3C).<span class=""><br></span></blockquote><div><br></div><div>This is already the case but glibc has a non-POSIX version if I understood well.<br></div><div>Instead of:<br><br>group *getgrent_r(struct group *grp, char *buffer, int bufsize);<br><br></div><div>they use:<br><br>int getgrent_r(struct group *grp, char *buffer, int bufsize, group * resultgrp);<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br></span>
Have you seen <a href="http://comments.gmane.org/gmane.comp.distributed.slurm.devel/6016" rel="noreferrer" target="_blank">http://comments.gmane.org/gmane.comp.distributed.slurm.devel/6016</a> ?<span class=""><br></span></blockquote><div><br></div><div>So it seems defining the macros to zero is not harmful even if not sexy.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br></span>
BTW, it exists in latest Solaris (<a href="https://issues.apache.org/jira/browse/HADOOP-11655" rel="noreferrer" target="_blank">https://issues.apache.org/jira/browse/HADOOP-11655</a>).<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>Alright, so this cannot be upstreamed.<br><br></div><div>How realistic would it be to have getgrouplist added to illumos ?<br><br></div><div>Thanks.<br></div><div><br></div><div>Aurélien<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
-- <br>
Best regards,<br>
Alexander Pyhalov,<br>
system administrator of Southern Federal University IT department<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font style="font-family:courier new,monospace" size="1">---<br>Praise the Caffeine embeddings<br></font></div></div></div></div>
</div></div>