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

Re: cygwin: push/pull takes very long time

From
CFChristopher Faylor <me@cgf.cx>
Date
Mar 3, 2006, 00:28 UTC
Message-ID
<20060303002806.GB7497@trixie.casa.cgf.cx>
In-Reply-To
<20060302215408.GC6183@steel.home>
On Thu, Mar 02, 2006 at 10:54:08PM +0100, Alex Riesen wrote:
Show 11 quoted lines
>Alex Riesen, Thu, Mar 02, 2006 18:09:23 +0100:
>>I'll cleanup the profiling code and send it as well soon (I had to
>>instrument x*alloc).
>
>This is not exactly the same.  It counts free as well, even if that is
>not really interesting - there are places were there is more frees than
>allocs.  Probably something missed or a result coming from libc.
>
>Also it is _not_ the code I used for windows.  I had to have a global
>variable for argv[0], which needs modification of all main()s, which
>gets too easily out of sync.

I wasn't following this discussion closely so maybe this is useless information, but for Cygwin you can either use the undocumented global __argv or you can use /proc/cmdline. /proc/self/cmdline is going to be pretty slow, however.

It looks like pure Windows console apps define _argv in stdlib.h also but I've never used this and don't know if it is what it looks like.

cgf
Previous: Alex RiesenNext: Alex Riesen
Message 4 of 5 in “cygwin: push/pull takes very long time”
  1. Alex RiesenMar 2, 2006
  2. Alex RiesenMar 2, 2006
  3. Alex RiesenMar 2, 2006
  4. Christopher FaylorMar 3, 2006
  5. Alex RiesenMar 3, 2006

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.