Skip to content
Prev 2528 / 63424 Next

date() should not append a final "\n" ?!?

Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
s<-ctime(&t); s[25] = '\0'; return s;

This won't work if s is read-only (which I don't think it is), but
neither will strtok since it pokes a null in the same spot....