Skip to content

Instantly share code, notes, and snippets.

View postwait's full-sized avatar

Theo Schlossnagle postwait

View GitHub Profile
bash-4.2$ diff /tmp/working /tmp/broken
1451,1452c1451,1452
< [52] 0x0003e1c0 0x00000001 OBJT LOCL D 0 .bss completed.4603
< [53] 0x0003e1c4 0x00000004 OBJT LOCL D 0 .bss dtor_idx.4605
---
> [52] 0x0003e1c0 0x00000001 OBJT LOCL D 0 .bss completed.4601
> [53] 0x0003e1c4 0x00000004 OBJT LOCL D 0 .bss dtor_idx.4603
1454c1454
< [55] 0x0003e1c8 0x00000018 OBJT LOCL D 0 .bss object.4629
---
; diff -u /var/tmp/working /var/tmp/broken osdev2
--- /var/tmp/working Wed Nov 27 20:33:55 2013
+++ /var/tmp/broken Wed Nov 27 20:33:55 2013
@@ -1,5 +1,5 @@
-Script started on November 27, 2013 08:33:03 PM UTC
-bash-4.2$ LD_DEBUG=files,bindings,detail less
+Script started on November 27, 2013 08:32:24 PM UTC
+bash-4.2$ LD_DEBUG=files,bindings,detail less
debug:
debug: Solaris Linkers: 5.11-1.1745 (illumos)
diff --git a/usr/src/lib/libcurses/Makefile b/usr/src/lib/libcurses/Makefile
index 9e88e23..e200b64 100644
--- a/usr/src/lib/libcurses/Makefile
+++ b/usr/src/lib/libcurses/Makefile
@@ -82,7 +82,7 @@ scrfiles: $(SCRFILES)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
-ED = ed
+ED = LANG=C ed
> 0t38627::pid2proc | ::walk thread | ::stacks
THREAD STATE SOBJ COUNT
ffffff2353b55100 STOPPED <NONE> 4
swtch+0x141
stop+0x3f6
issig_forreal+0x36c
issig+0x25
cv_timedwait_sig_hires+0x20e
cv_waituntil_sig+0xfa
port_getn+0x39f
stack pointer for thread ffffff244a147820: ffffff00f6f7ca60
[ ffffff00f6f7ca60 _resume_from_idle+0xf1() ]
ffffff00f6f7ca90 swtch+0x141()
ffffff00f6f7cb10 stop+0x3f6()
ffffff00f6f7cbc0 issig_forreal+0x36c()
ffffff00f6f7cbe0 issig+0x25()
ffffff00f6f7cc80 cv_timedwait_sig_hires+0x20e()
ffffff00f6f7cd10 cv_waituntil_sig+0xfa()
ffffff00f6f7ce20 port_getn+0x39f()
ffffff00f6f7cf00 portfs+0x1c0()
> 0t38627::pid2proc | ::walk thread | ::findstack
stack pointer for thread ffffff235df63b80: ffffff010212fdc0
[ ffffff010212fdc0 _resume_from_idle+0xf1() ]
ffffff010212fdf0 swtch+0x141()
ffffff010212fe70 cv_wait_stop+0x11e()
ffffff010212fee0 closeandsetf+0x2fd()
ffffff010212ff00 close+0x13()
ffffff010212ff10 sys_syscall+0x17a()
stack pointer for thread ffffff2317b53780: ffffff00fd676bb0
[ ffffff00fd676bb0 _resume_from_idle+0xf1() ]
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <port.h>
#include <sys/lwp.h>
#include <pthread.h>
lwpid_t other = 0;
int port_fd = -1;
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index f77287e..454ccf1 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -801,7 +801,7 @@ SSLUtils_lua_ssl_store_ssl_context(lua_State* L)
LUAGETF(ssl_key_name);
LUAGETF(ssl_ca_name);
LUAGETF(ssl_cert_name);
- // TODO: ticket_key_filename stuff should be popped here I think
+ LUAGETF(ticket_key_filename);
Have you ever wondered … “Does God really care about the details of my business – including its profitability, its value, maybe even its sale some day? Does He really care about me, its CEO?”
If you’ve ever asked yourself these questions, you’re not alone. Increasingly in the past year, CEOs and business owners have been talking about this with one another, and many are surprised by the answers they are discovering.
If this resonates with you, please visit me on LinkedIn and read “God’s Bigger Story for CEOs and Your Role In It”. Also check out the Faithful CEO Roundtable description in the Experience section.
If you are still intrigued, join us for a Faithful CEO Roundtable on February 13th as 12 CEOs and business owners gather informally over breakfast. We will discuss our experience of, or desire for, God involving Himself in the details of our businesses. For some, this will be the first time they have talked about this topic with other CEOs. Some will come with questions. Others will come with storie
Have you ever wondered … “Does God really care about the details
of my business – including its profitability, its value, maybe
even its sale some day? Does He really care about me, its CEO?”
If you’ve ever asked yourself these questions, you’re not
alone. Increasingly in the past year, CEOs and business owners
have been talking about this with one another, and many are
surprised by the answers they are discovering.
If this resonates with you, please visit me on LinkedIn and read