On Sep 20, 2012, at 7:26 PM, Dennis Clarke <dcla...@blastwave.org> wrote:
> 
> So I went and looked at 
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/memalign.c
>  to see, what bloody obvious thing I am doing wrong[1]. Perhaps  alignment 
> means bytes and I should have 8 there.  Not sure. 

libbc != libc.

In illumos its located at usr/src/lib/libc/port/gen/memalign.c

If you build from source you can single step.  I suspect compiler flags at play 
here, but I don't know.  I'm not in a position to test your compiler and 
Solaris 10.  (TBH, this is the first post on this list I've seen in a long long 
time -- I thought it dead.)

        - Garrett

> 
> Dennis 
> 
> [1] other than leaving out the free(buffer) 
> 
> 
> _______________________________________________
> opensolaris-code mailing list
> opensolaris-code@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to