annotate Resources/Patches/glog-utilities.diff @ 119:b0734fbcdd97 Orthanc-0.2.2

Orthanc-0.2.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Oct 2012 15:09:56 +0200
parents 7593b57dc1bf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
102
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 --- /tmp/m/glog-0.3.2/src/utilities.cc 2012-01-12 09:40:21.000000000 +0100
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 +++ utilities.cc 2012-10-03 16:04:19.745861665 +0200
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 @@ -295,7 +295,7 @@
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 g_my_user_name = "invalid-user";
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 }
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 }
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 +REGISTER_MODULE_INITIALIZER(utilities, MyUserNameInitializer())
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 -REGISTER_MODULE_INITIALIZER(utilities, MyUserNameInitializer());
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 #ifdef HAVE_STACKTRACE
7593b57dc1bf switch to google log
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 void DumpStackTraceToString(string* stacktrace) {