Stack traceback?253 (12/17/2007 8:35:38 AM) comp.unix.programmer Occasionally I see references to compiling stack trace back code into a program, as some kind of gcc extension. If this is possible, can it be done on Mac OSX? Any documentation? -- SM Ryan http://www.rawbw.co... SM
Unicode character decomposition Unix library?177 (11/27/2007 10:26:18 PM) comp.unix.programmer Is there a library/whatever available on Unices to do Unicode character decomposition normalisation? -- SM Ryan http://www.rawbw.com/~wyrmwif/ I'm not even supposed to be here today. ... SM
mmap/mprotect on MacOSX137 (9/30/2007 6:01:35 AM) comp.unix.programmer I would like to allocate a segment and then guard pages to detect underflow and overflow. I was thinking of using mmap to create an anonymous segment and then mprotect to deny any access to the first and last p... SM
MacOSX Run Loop vs Tcl (FSEvents)119 (7/5/2007 10:08:28 PM) comp.lang.tcl Is there code or examples on how to adapt MacOSX run loop events to run with Tcl dispatch? I'm particularly interested in the 10.5 FSEvents. -- SM Ryan http://www.rawbw.com/~wyrmwif/ TEMPORARILY CLOSED BE OPEN... SM
Darwin kernel hang -- how to diagnose?134 (5/16/2007 7:22:19 PM) comp.unix.programmer I have program that somehow gets the process into uninterruptible wait status (U is in the ps -x display), and the process is hung and unkillable. The machine then hangs on shutdown requiring a power cycle to r... SM
renee.rtf.xaf020 (4/21/2007 5:15:19 AM) comp.lang.tcl \f2\b global \f3\b0 \f7\i a \f3\i0 \f7\i dfont \f3\i0 \f7\i input line \f3\i0 \f7\i tagclass \f3\i0 \ \f2\b if \f3\b0 \{[ \f2\b gets \f3\b0 $ \f7\i input x \f3\i0 ] EOI\}\}\ \f2\b array \f... SM
Execute an arbitrary program as a child process?639 (2/4/2008 8:13:57 AM) comp.unix.programmer There are a lot of sophisticated, high-quality programs out there, and the system() call allows us access to their functionality. Saves a lot of reinventing the wheel. But it's a blocking call, and even if it w... champ(7)
writing a opened file552 (2/5/2008 5:26:12 PM) comp.unix.programmer hi all... I want to patch some of sections(ELF format) of my program itself. but first problem is I can't open the program in O_RDWD... for example, this program is called TEST, I execute this program by ./ TE... dave.tw(42)
Handy tool for mass-replacement?430 (2/7/2008 6:35:37 PM) comp.lang.c I have an indentifer in my program that I want to change. Does anyone know of a handy little tool that will go thru all the files in a directory and replace a given identifier with another? Something lik... toe(740)
Hard link to directories1033 (2/15/2008 4:00:36 AM) comp.unix.programmer Why hard link to directories is not allowed for normal user? What happens if a super user create a hard link for a directory? Can any one explain briefly? ... lakindia89(72)
extra comma2842 (2/16/2008 4:55:20 PM) comp.lang.c Hi all, why does C language permits an extra comma in initializer list ex:- int days[] = { 31,28.31,30,31,30, 31,31,30,31,30,31, } ... aarklon(253)
Efficient shifting of a flat buffer333 (3/3/2008 9:16:31 AM) comp.lang.c I would like to know the best efficient way to shift a flat buffer by say 4bits. for exaple if the flat buffer is 0x62 0x48 0x23 .... then the result should be 0x06 0x24 0x82 0x3..... byte by byte shifting... madhurrajn(35)
alloca8746 (3/3/2008 8:50:05 PM) comp.lang.c This function is not mentioned very often in this newsgroup but it is a VERY useful function, implemented in most compilers. I think it is useful to point to it since many people that read this newsgroup are n... jacob4111(1334)
Variable length arrays #24433 (3/6/2008 1:38:17 AM) comp.lang.c If a VLA appears within a loop body, it seems the behavior is different with two different compilers I tried. I looked at the standard text, but couldn't find a definite answer there either. Consider the foll... elindema(8)
cat3435 (3/6/2008 2:06:06 AM) comp.lang.c I've read parts of K&R's ANSI C v2 and this is what their cat looked like but when I compared the speed of this code to gnu cat, it seems very slow. How do I optimize this for greater speeds? is there an altern... talon.jag(4)
help with header files..338 (3/6/2008 7:30:15 AM) comp.lang.c ok so i was just reading about #ifndef and header files. I have a few doubts. It would be great help if someone can clear my doubts.. #ifndef A_H #define A_H .... code ..... #endif ^^ lets say A.h is included... johnnash86(30)