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

Re: [PATCH v0 3/3] Build in git-rebase.sh

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 25, 2009, 07:39 UTC
Message-ID
<fcaeb9bf0905250039gcc0d8c1h788f726a13281452@mail.gmail.com>
In-Reply-To
<fcaeb9bf0905250000n299f599fp3738e5385add075a@mail.gmail.com>
On Mon, May 25, 2009 at 5:00 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 20 quoted lines
> On Mon, May 25, 2009 at 4:47 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
>> Nguyen Thai Ngoc Duy schrieb:
>>> On Mon, May 25, 2009 at 4:16 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
>>>> Nguyen Thai Ngoc Duy schrieb:
>>>>> Someone with better Windows knowledge than me should explain how this works. Windows'
>>>>> snprintf() just cuts out the last character in this statement:
>>>>>
>>>>> snprintf(buf, 8, "--%s", "onto"); // result: '--ont', expected: '--onto'
>>>> This doesn't happen for me: neither with Windows's original snprintf nor
>>>> with the version from compat/. Are you using the latest msysgit
>>>> environment to compile, i.e. gcc 4.4? There was a change regarding
>>>> SNPRINTF_SIZE_CORR; perhaps that's the culprit?
>>>
>>> It could be. I used git.git's next branch, not msys4git or mingw.git
>>> repositories.
>>
>> OK. Assuming you are using the latest msysgit compiler, which is gcc 4.4,
>> then you need the SNPRINTF_SIZE_CORR related patch from 4msysgit.git.
>
> It's cross compiler 4.3. Will try the patch.
It is because of SNPRINTF_SIZE_CORR. Thank you.
-- 
Duy
Previous: Nguyen Thai Ngoc DuyNext: Jakub Narebski
Message 17 of 21 in “doc/git-rebase.txt: remove mention of multiple strategies”
  1. 1/3 doc/git-rebase.txt: remove mention of multiple strategiesNguyễn Thái Ngọc Duy, May 21, 2009
  2. 2/3 t/t3400-rebase.sh: add more tests to help migrating git-rebase.sh to CNguyễn Thái Ngọc Duy, May 21, 2009
  3. 3/3 Build in git-rebase.shNguyễn Thái Ngọc Duy, May 21, 2009
  4. Jakub NarebskiMay 21, 2009
  5. Nguyen Thai Ngoc DuyMay 21, 2009
  6. Jakub NarebskiMay 21, 2009
  7. Nguyen Thai Ngoc DuyMay 21, 2009
  8. Junio C HamanoMay 21, 2009
  9. Johannes SixtMay 22, 2009
  10. Nguyen Thai Ngoc DuyMay 22, 2009
  11. Nguyen Thai Ngoc DuyMay 23, 2009
  12. Nguyen Thai Ngoc DuyMay 23, 2009
  13. Johannes SixtMay 25, 2009
  14. Nguyen Thai Ngoc DuyMay 25, 2009
  15. Johannes SixtMay 25, 2009
  16. Nguyen Thai Ngoc DuyMay 25, 2009
  17. Nguyen Thai Ngoc DuyMay 25, 2009
  18. Jakub NarebskiMay 21, 2009
  19. Nguyen Thai Ngoc DuyMay 21, 2009
  20. Junio C HamanoMay 21, 2009
  21. 2/3 t/t3400-rebase.sh: add more tests to help migrating git-rebase.sh to CNguyễn Thái Ngọc Duy, May 23, 2009

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.