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

[PATCH] git-svn fix for systems without strftime %z

From
Ben Walton <bwalton@artsci.utoronto.ca>
Date
Feb 23, 2009, 14:33 UTC
Message-ID
<1235399583-6043-1-git-send-email-bwalton@artsci.utoronto.ca>
Hi All,

In packaging the latest stable release for the OpenCSW project, I found that some of the git-svn tests were failing. After looking into it, I saw that strftime calls were passing %z. While %z is available on most modern systems, it's not universal. The forthcoming patch implements a workaround for this that detects when %z falls through and will insert the proper value when required.

I've tested this on both Linux and Solaris and it seems to behave as expected (the test suite is happy on both).

I hope you find this useful.

Thanks -Ben

Next: Ben Walton
Message 1 of 3 in “git-svn fix for systems without strftime %z”
  1. git-svn fix for systems without strftime %zBen Walton, Feb 23, 2009
  2. git-svn fix for systems without strftime %zBen Walton, Feb 23, 2009
  3. Eric WongFeb 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.