If I s7_make_string(sc, filename), then convert the s7_pointer back to a C
string, the two functions s7_string and s7_object_to_c_string should
produce identical output, no? Namely a string identical to the original
source. That's what I would expect, anyway.

I just found something fishy about s7_object_to_c_string.  I'm passing a
string to use with fopen. The fopen fails (as does access()) if I use it,
but succeeds if I use s7_string to do the conversion.

Furthermore, if I print the char* string after conversion, it looks ok.

Is this a bug?

Thanks,

Gregg
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to