From 74ae29992459827a9fbef6db978de0d904870bb4 Mon Sep 17 00:00:00 2001 From: Date: Thu, 10 Jan 2013 07:46:20 +0000 Subject: [PATCH] Allow users to re-initialize glog http://code.google.com/p/google-glog/issues/detail?id=83 http://code.google.com/p/google-glog/issues/detail?id=125 http://code.google.com/p/google-glog/issues/detail?id=142 git-svn-id: https://google-glog.googlecode.com/svn/trunk@121 eb4d4688-79bd-11dd-afb4-1d65580434c0 --- src/utilities.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utilities.cc b/src/utilities.cc index a037480..a6d1961 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -331,6 +331,7 @@ void InitGoogleLoggingUtilities(const char* argv0) { void ShutdownGoogleLoggingUtilities() { CHECK(IsGoogleLoggingInitialized()) << "You called ShutdownGoogleLogging() without calling InitGoogleLogging() first!"; + g_program_invocation_short_name = NULL; #ifdef HAVE_SYSLOG_H closelog(); #endif -- 2.34.1