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

Re: git-rebase (1.5.0.6) errors

From
PTPaolo Teti <paolo.teti@gmail.com>
Date
May 18, 2007, 14:39 UTC
Message-ID
<34a7ae040705180739i38d4853ci95717407e81add7b@mail.gmail.com>
In-Reply-To
<Pine.LNX.4.64.0705181640270.14736@kivilampi-30.cs.helsinki.fi>
2007/5/18, Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>:
> ...sizeof(size_t) == sizeof(int) should hold...
what I have reported is not necessarily the cause of your error. Yes
BUT size_t is UNSIGNED and ssize_t is SIGNED.

The problem is that We store a signed return value into a unsigned variable. So the check against -1 has no sense.

and please note that also sizeof(int) == sizeof(unsigned int), but -1 is a signed int !!

I repeat: this is not necessarily the cause of your error.
Previous: Ilpo JärvinenNext: Jan Hudec
Message 6 of 9 in “git-rebase (1.5.0.6) errors”
  1. Ilpo JärvinenMay 18, 2007
  2. Paolo TetiMay 18, 2007
  3. David KastrupMay 18, 2007
  4. Paolo TetiMay 18, 2007
  5. Ilpo JärvinenMay 18, 2007
  6. Paolo TetiMay 18, 2007
  7. Jan HudecMay 20, 2007
  8. Ilpo JärvinenMay 20, 2007
  9. Paolo TetiMay 18, 2007

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.