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

[PATCH] cvsserver: suppress warnings

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 25, 2006, 10:48 UTC
Message-ID
<Pine.LNX.4.63.0607251247040.29667@wbgn013.biozentrum.uni-wuerzburg.de>

This patch defines $state->{prependdir} as the empty string, so that quite a few warnings are avoided.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
	I still get this warning:
		closing dbh with active statement handles
 git-cvsserver.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index 9c9f21b..981b6ba 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -81,7 +81,7 @@ ########################################
 
 # $state holds all the bits of information the clients sends us that could
 # potentially be useful when it comes to actually _doing_ something.
-my $state = {};
+my $state = { prependdir => '' };
 $log->info("--------------- STARTING -----------------");
 
 my $TEMP_DIR = tempdir( CLEANUP => 1 );
-- 
1.4.2.rc1.gc123
Next: Martin Langhoff (CatalystIT)
Message 1 of 9 in “cvsserver: suppress warnings”
  1. cvsserver: suppress warningsJohannes Schindelin, Jul 25, 2006
  2. Martin Langhoff (CatalystIT)Jul 25, 2006
  3. Johannes SchindelinJul 25, 2006
  4. Martin LanghoffJul 25, 2006
  5. Johannes SchindelinJul 25, 2006
  6. git-1.4.1.1-1 git-clone-pack: unable to read from git-index-packMike Galbraith, Jul 25, 2006
  7. Mike GalbraithJul 25, 2006
  8. Johannes SchindelinJul 25, 2006
  9. Ryan AndersonJul 25, 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.