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

[patch] fix imap-send for OSX

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Mar 15, 2006, 23:35 UTC
Message-ID
<86slpj5ljp.fsf@blue.stonehenge.com>
In-Reply-To
<7vk6avgxva.fsf@assigned-by-dhcp.cox.net>
This patch works... I've been using it to stay current.
---
 imap-send.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
ba458b49b860488c25cf57dabbb5db97f12e41f2
diff --git a/imap-send.c b/imap-send.c
index 1b38b3a..e33c78b 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -372,7 +372,7 @@ free_generic_messages( message_t *msgs )
 }
 
 static int
-vasprintf( char **strp, const char *fmt, va_list ap )
+git_vasprintf( char **strp, const char *fmt, va_list ap )
 {
 	int len;
 	char tmp[1024];
@@ -402,7 +402,7 @@ nfsnprintf( char *buf, int blen, const c
 static int
 nfvasprintf( char **str, const char *fmt, va_list va )
 {
-	int ret = vasprintf( str, fmt, va );
+	int ret = git_vasprintf( str, fmt, va );
 	if (ret < 0)
 		die( "Fatal: Out of memory\n");
 	return ret;
-- 
1.2.4.g5593



-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “What's in git.git”
  1. Junio C HamanoMar 15, 2006
  2. fix imap-send for OSXRandal L. Schwartz, Mar 15, 2006
  3. Junio C HamanoMar 15, 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.