<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Yeah, that's fine. I'll change it soon.<BR>
<BR>
Reid.<BR>
<BR>
On Thu, 2005-04-21 at 18:32 +0200, Markus F.X.J. Oberhumer wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Reid Spencer wrote:</FONT>
<FONT COLOR="#000000">> On Thu, 2005-04-21 at 17:56 +0200, Markus F.X.J. Oberhumer wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>>Reid Spencer wrote:</FONT>
<FONT COLOR="#000000">>>> If a specific value for these is </FONT>
<FONT COLOR="#000000">>>> needed on a given platform, then we need to implement something like </FONT>
<FONT COLOR="#000000">>>> "getDefaultUserId" and "getDefaultGroupId"  functions in lib/System and </FONT>
<FONT COLOR="#000000">>>> use those in lib/Bytecode/Archive.</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>>That's probably the way to go.</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Implemented as sys::Process::GetCurrentUserId() and </FONT>
<FONT COLOR="#000000">> sys::Process::GetCurrentGroupId(). Both Unix and Win32 implementations </FONT>
<FONT COLOR="#000000">> have been provided. Jeff, is there something more intelligent on Win32 </FONT>
<FONT COLOR="#000000">> that these methods could return (other than 65536)?.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I've also corrected the ArchiveWriter to use these methods when it is </FONT>
<FONT COLOR="#000000">> defaulting the archive header.</FONT>

<FONT COLOR="#000000">What do you think about this updated patch ?</FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">LLVM Developers mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</A>         <A HREF="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A></FONT>
<FONT COLOR="#000000"><A HREF="http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev">http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
<ADDRESS>
<I><FONT SIZE="4">_______________________</FONT></I><BR>
<I><FONT SIZE="4">Reid Spencer</FONT></I><BR>
<I><FONT SIZE="4">President & CTO</FONT></I><BR>
<I><FONT SIZE="4">eXtensible Systems, Inc.</FONT></I><BR>
<I><FONT SIZE="4">rspencer@x10sys.com</FONT></I>
</ADDRESS>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>