[LLVMdev] misc CVS patches

Reid Spencer
Thu, 21 Apr 2005 17:48:17 -0000

Yeah, that's fine. I'll change it soon.

Reid.

On Thu, 2005-04-21 at 18:32 +0200, Markus F.X.J. Oberhumer wrote:

> 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.
>
> What do you think about this updated patch ?
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev



_______________________
Reid Spencer
President & CTO
eXtensible Systems, Inc.
rspencer at x10sys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050421/d7804e0d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050421/d7804e0d/attachment.sig>