« Return to Thread: dwarfutils - Patch for review

Re: dwarfutils - Patch for review

by Samuel Thibault-8 :: Rate this Message:

| View in Thread

Barry deFreese, le Tue 19 Jun 2012 13:22:06 -0400, a écrit :
> Honestly I am not quite sure why this is working on GNU/Linux

That's because Linux uses TLS for errno, which we don't yet on the Hurd.

> I just changed that block of code to use a different variable name rather than errno (see attached
> patch).  Does this make sense?

It makes sense, yes. Posix says that "it is unspecified whether errno is
a macro or an identifier declared with external linkage."

Samuel


--
To UNSUBSCRIBE, email to debian-hurd-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...
Archive: http://lists.debian.org/20120625122750.GM3329@...

 « Return to Thread: dwarfutils - Patch for review