Re:The structure of the special type of DOS files called dir...
by code_duck on Monday February 25, 2019 @12:02PM
(#19247081)
That’s a description of part of the problem, not a reasonable excuse.
Re:The structure of the special type of DOS files called dir...
by red_admiral on Monday February 25, 2019 @03:39PM
(#19249231)
Didn't lots of SQL databases' CHAR(n) type used to be space-padded instead of null-padded too? If I had to guess, DOS simply copied that idea: filename=CHAR(8), ext=CHAR(3) with three blanks the "NULL" value.
Re:The structure of the special type of DOS files called dir...
by dragonwriter on Monday February 25, 2019 @04:01PM
(#19249430)
> Didn't lots of SQL databases' CHAR(n) type used to be space-padded instead of null-padded too? If I had to guess, DOS simply copied that idea
DOS couldn't have copied what lots of SQL databases did, since DOS was being written around the same time as the first SQL databases.
My guess would be that, like the three character extension itself, this came from CP/M, not SQL.
As the names are fixed to 8.3 there is no such thing as length detection/indication for the string.