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

Re: [PATCH 1/2] mailinfo: support rfc3676 (format=flowed) text/plain messages

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 16, 2008, 02:30 UTC
Message-ID
<alpine.LSU.1.00.0802160227180.30505@racer.site>
In-Reply-To
<76718490802151043q56340ea9i247dbb1601f8d225@mail.gmail.com>
Hi,
On Fri, 15 Feb 2008, Jay Soffian wrote:
Show 11 quoted lines
> On Fri, Feb 15, 2008 at 5:41 AM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> wrote:
> >  > +             char *cp = line;
> >  > +             while (*cp == '>' && *cp != 0)
> >  > +                     cp++;
> >
> >  How about using strchrnul()?
> 
> Actually strchrnul() here isn't correct. I want to strip leading '>' 
> only. strchrnul() will search for the first occurrence (skipping over 
> non-'>' to do so), which is not what I want.
Oh, okay, I read again.

You just wanted to strip the leading ">". So I know even less what you tried to do. But then, I do not know anything about format=flawed either.

Ciao, Dscho

Previous: Jay SoffianNext: Junio C Hamano
Message 8 of 14 in “mailinfo: support rfc3676 (format=flowed) text/plain messages”
  1. 1/2 mailinfo: support rfc3676 (format=flowed) text/plain messagesJay Soffian, Feb 15, 2008
  2. 2/2 test mailinfo rfc3676 supportJay Soffian, Feb 15, 2008
  3. Johannes SchindelinFeb 15, 2008
  4. Jay SoffianFeb 15, 2008
  5. Johannes SchindelinFeb 15, 2008
  6. Jay SoffianFeb 15, 2008
  7. Jay SoffianFeb 15, 2008
  8. Johannes SchindelinFeb 16, 2008
  9. Junio C HamanoFeb 15, 2008
  10. Jay SoffianFeb 15, 2008
  11. Junio C HamanoFeb 16, 2008
  12. Jay SoffianFeb 16, 2008
  13. Junio C HamanoFeb 16, 2008
  14. Derek FawcusFeb 16, 2008

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.