Far from pointless, I think, since it still solves the by far more serious problem with accidental printouts in backtraces etc. But a really good solution should address this too, and that's why I wrote PCHARP and not struct pike_string in 9670457. (PCHARP comes from global.h and is a char * together with a size shift.)
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-30 16:14: Subject: Re: OpenSSL wrapper vs Pike's SSL (Was: Bz2)
For most other uses for special string classes, it's an acceptable fallback to simply cast them to the builtin string, one could even have functions like get_all_args to that automatically. But if you do that for SecretString, it gets quite pointless.
/ Niels Möller ()