> Wow... Thanks *a lot* for catching this. sizeof (char*) is 8 on all
> the machines I ran this beta against...
It is just a 32-bit situation :
C_mars$ cat foo.c
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
printf("sizeof(char *) = %i\n", sizeof(char *));
return EXIT_SUCCESS;
}
C_mars$ uname -a
Linux mars 5.7.0-1-686 #1 SMP Debian 5.7.6-1 (2020-06-24) i686 GNU/Linux
C_mars$ echo $CC
/usr/bin/gcc-9
C_mars$ echo $CFLAGS
-std=iso9899:1999 -m32 -g -O0 -pedantic -pedantic-errors -Wall
-march=i686 -mtune=i686 -fno-builtin -malign-double -mpc80
C_mars$ echo $CPPFLAGS
-D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
-D_X_OPEN_SOURCE=600
C_mars$ $CC $CFLAGS $CPPFLAGS -o foo foo.c
C_mars$ ./foo
sizeof(char *) = 4
C_mars$
Dennis