On Mon, Sep 28, 2009 at 1:13 PM, Przemyslaw Czerpak <dru...@acn.waw.pl> wrote:
> Modify the offset range (-1) and revert bits (most significant has offset 0): Many thanks it works like a charm but doing tests I've found that the original bit() SEGFAULTs: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7895b70 (LWP 10105)] 0x080489f5 in HB_FUN_BIT () Current language: auto; currently asm (gdb) bt #0 0x080489f5 in HB_FUN_BIT () #1 0xb7ce4cda in hb_vmProc () from /opt/harbour/lib/libharbour.so #2 0xb7cbc4eb in hb_vmExecute () from /opt/harbour/lib/libharbour.so #3 0x08048a5a in HB_FUN_MAIN () #4 0xb7ce4cda in hb_vmProc () from /opt/harbour/lib/libharbour.so #5 0xb7ce62d4 in hb_vmInit () from /opt/harbour/lib/libharbour.so #6 0xb7ce84de in main () from /opt/harbour/lib/libharbour.so #7 0xb7a0c775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #8 0x080488a1 in _start () at ../sysdeps/i386/elf/start.S:119 simply bit() is used in functions I don't call. This is a demonstration that the latest api changes really help to improve code quality. best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour