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

Re: Interested in helping open source friends on HP-UX?

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 3, 2015, 14:55 UTC
Message-ID
<54F5CB74.2090403@drmicha.warpmail.net>
In-Reply-To
<20150219195622.2828cc6a@pc09.procura.nl>
H.Merijn Brand venit, vidit, dixit 19.02.2015 19:56:
Show 28 quoted lines
> On Thu, 19 Feb 2015 14:21:11 +0100, Michael J Gruber
> <git@drmicha.warpmail.net> wrote:
> 
>> Jeff, you got it wrong. You should do the hard part and leave the easy
>> part to us!
>>
>> Thanks anyways, I'll add this to my HP_UX branch.
> 
> I did not mention this in earlier mails. When using the HP C-ANSI-C
> compiler, MAX_INT is not set.
> 
> I had to add
> --8<---
> #ifndef   SIZE_MAX
> #  define SIZE_MAX              (18446744073709551615UL)
> /* define SIZE_MAX              (4294967295U) */
> #  endif
> -->8---
> 
> to these files
> 
> sha1_file.c
> utf8.c
> walker.c
> wrapper.c
> 
> And yes, that could be dynamic and probably be in another header file
> 
In compat/regex/regex_internal.h we have

/* For loser systems without the definition. */ #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif

Does this work in your environment?
[Trying to not let this fall into oblivion...]
Michael
Previous: H.Merijn BrandNext: H.Merijn Brand
Message 13 of 23 in “Interested in helping open source friends on HP-UX?”
  1. Junio C HamanoDec 11, 2014
  2. H.Merijn BrandFeb 18, 2015
  3. Michael J GruberFeb 18, 2015
  4. Jeff KingFeb 18, 2015
  5. Junio C HamanoFeb 18, 2015
  6. Jeff KingFeb 18, 2015
  7. Michael J GruberFeb 19, 2015
  8. H.Merijn BrandFeb 19, 2015
  9. Michael J GruberFeb 19, 2015
  10. Jeff KingFeb 19, 2015
  11. Michael J GruberFeb 19, 2015
  12. H.Merijn BrandFeb 19, 2015
  13. Michael J GruberMar 3, 2015
  14. H.Merijn BrandMar 3, 2015
  15. Michael J GruberMar 3, 2015
  16. H.Merijn BrandMar 3, 2015
  17. Jeff KingFeb 20, 2015
  18. Michael J GruberFeb 20, 2015
  19. Jeff KingFeb 20, 2015
  20. H.Merijn BrandFeb 20, 2015
  21. H.Merijn BrandFeb 18, 2015
  22. H.Merijn BrandFeb 18, 2015
  23. David AguilarFeb 21, 2015

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.