Why Is Escaping Data Considered So Magical?

Paul Rubin no.email at nospam.invalid
Wed Jun 30 15:19:07 EDT 2010


Cameron Simpson <cs at zip.com.au> writes:
> The original V7 (and probably earlier) UNIX filesystem has 16 byte directory
> entries: 2 bytes for an inode and 14 bytes for the name. You could use 14
> bytes of that name, and strncpy makes it effective to work with that data
> structure.  

Why not use memcpy for that?



More information about the Python-list mailing list