[LLVMdev] misc CVS patches

Jeff Cohen jeffc at jolt-lang.org
Thu Apr 21 09:34:03 PDT 2005


Nope.  Any number is as good as any other.

Reid Spencer wrote:

> On Thu, 2005-04-21 at 17:56 +0200, Markus F.X.J. Oberhumer wrote:
>
>>Reid Spencer wrote:
>>> If a specific value for these is 
>>> needed on a given platform, then we need to implement something like 
>>> "getDefaultUserId" and "getDefaultGroupId"  functions in lib/System and 
>>> use those in lib/Bytecode/Archive.
>>
>>That's probably the way to go.
>>    
>>
>
> Implemented as sys::Process::GetCurrentUserId() and 
> sys::Process::GetCurrentGroupId(). Both Unix and Win32 implementations 
> have been provided. Jeff, is there something more intelligent on Win32 
> that these methods could return (other than 65536)?.
>
> I've also corrected the ArchiveWriter to use these methods when it is 
> defaulting the archive header.
>
> Reid
>
>------------------------------------------------------------------------
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>  
>




More information about the llvm-dev mailing list