git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Port to 12 other Platforms.

From
BGBoyd Lynn Gerber <gerberb@zenez.com>
Date
Jun 8, 2008, 21:49 UTC
Message-ID
<Pine.LNX.4.64.0806081545140.18454@xenau.zenez.com>
In-Reply-To
<7v8wxfiq01.fsf@gitster.siamese.dyndns.org>
On Sun, 8 Jun 2008, Junio C Hamano wrote:
> Honestly, I'd have to say that such platform header files are buggy ;-)
I agree, but getting various things changed is near impossible.  
Especially since they are either in a retired or unmaintained state.  
Although a few are still release updated products, they refuse to change 
them citeing backword compatibility.
 
Show 7 quoted lines
> If they want to use u_short and other custom types for their internal use,
> that is understandable and perfectly fine, and if they want to hide these
> names when _POSIX or _XOPEN is defined because you are not supposed to
> contaminate the namespace, that is also sensible, but at the same time you
> (not you, Boyd, but whoever developed the system header files) should have
> taken an alternate measure (perhaps by using __u_short or something) not
> to break the features they declare in the other header files of their own.
I agree +1
> And not defining _XOPEN nor _POSIX would be a reasonable workaround to
> the problem on such systems.
Agreed.
Thanks,

-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047

Previous: Boyd Lynn Gerber
Message 15 of 15 in “Port to 12 other Platforms.”
  1. Port to 12 other Platforms.Boyd Lynn Gerber, Jun 8, 2008
  2. Jakub NarebskiJun 8, 2008
  3. Boyd Lynn GerberJun 8, 2008
  4. Matthieu MoyJun 8, 2008
  5. Boyd Lynn GerberJun 8, 2008
  6. Jakub NarebskiJun 8, 2008
  7. Boyd Lynn GerberJun 8, 2008
  8. Boyd Lynn GerberJun 8, 2008
  9. Junio C HamanoJun 8, 2008
  10. Boyd Lynn GerberJun 8, 2008
  11. Boyd Lynn GerberJun 8, 2008
  12. Junio C HamanoJun 8, 2008
  13. version 0001 Port to 12 other Platforms.Boyd Lynn Gerber, Jun 8, 2008
  14. progress.c: avoid use of dynamic-sized arrayBoyd Lynn Gerber, Jun 8, 2008
  15. Boyd Lynn GerberJun 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.