[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#504699: (no subject)



Michael Kerrisk a écrit :
> I'm the upstream upstream man-pages maintainer.  I'd entertain a patch
> to improve the documentation, or if someone can give a clear, simple
> explanation of what needs to be changed, I'll do the patch myself.
> 
> It sounds like some people on this thread have already done some
> digging, and I don't want to repeat their effort from scratch.  Also,
> reading the bug thread, it's not clear if, from the point of view of
> the reported, things are currently "broken" on AMD64, but will be
> fixed in a future glibc release.  I'd appreciate some clarification on
> that.

The part *may* need to be emphasised:

| When this context is later activated (using setcontext(2) or
| swapcontext()) the function func is called, and passed the series of
| integer (int) arguments that follow  argc;

The bug reporter made some confusion between int and void*, the two
having the same size on a 32-bit machine, but not on a 64-bit machine.

The current code has been changed in glibc 2.8 to ensure that *some
architectures* may allow a 64-bit value instead of an int, but there is
no guarantee it will work on all 64-bit architecture.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net


Reply to: