DELTA 254661 0 2159 SVNĨkĨl 4 ˛ž2‡6ž53.\" $NetBSD: backtrace.3,v 1.5 2013/08/22 17:08:43aENDREP DELTA 254661 2172 2283 SVNŦŽ{ƒqąŒ 1•‚cŒf€ƒ#‘sp†ŠĄjƒo/* $NetBSD: backtrace.c,v 1.3 2013/08/29 14:58:563 2013/08/29 14:58:56include #define SELF "/proc/curproc/file" #endif static int open_self(int flags) { const char *pathname = SELF; #ifdef KERN_PROC_PATHNAME static const int name[] = { CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1, }; char path[MAXPATHLEN]; size_t len; len = sizeof(path); if (sysctl(name, __arraycount(name), path, &len, NULL, 0) != -1) pathname = path; #endif return open(pathname, flags); } _self(ENDREP DELTA 254661 6639 2051 SVN¤E¤Y $ ތ.€t—+"/* $NetBSD: symtab.c,v 1.2 2013/08/29 15:01:572 2013/08/29 15:01:57 christos Exp $"); #include #include #include #include