Re: C - really weird behavior only at openbsd

2010-10-10 Thread Kenneth R Westerback
On Sat, Oct 09, 2010 at 06:36:55PM +0200, merlyn wrote: > Hi all, > > I'm facing really weird behavior of simple C program > running under OpenBSD (4.7 and CURRENT). > > The code follows. The output also. The file to test the program with > is also inline attached. > > The decomp procedure reads

Re: C - really weird behavior only at openbsd

2010-10-09 Thread patrick keshishian
On Sat, Oct 9, 2010 at 9:36 AM, merlyn wrote: > Hi all, > > I'm facing really weird behavior of simple C program > running under OpenBSD (4.7 and CURRENT). > > The code follows. The output also. The file to test the program with > is also inline attached. > > The decomp procedure reads input, writ

C - really weird behavior only at openbsd

2010-10-09 Thread merlyn
Hi all, I'm facing really weird behavior of simple C program running under OpenBSD (4.7 and CURRENT). The code follows. The output also. The file to test the program with is also inline attached. The decomp procedure reads input, writes it to the stdout. All 4-chars preceeded by number are print