This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strtok behaviour when uninitialized


El dg 11 de 02 de 2018 a les 19:02 -0500, Rich Felker va escriure:
> The issue is that a crash is the
> best way to inform the programmer that their code is incorrect.

This is your way to handle undefined behavior in specification and it is
fine, but you do define behavior by asserting a catastrophic failure.
However, your wiki says "correct programs performing better is more
important to us than buggy programs being easier to debug". This
counters catastrophic failure if it means an extra runtime cost.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]