Linked by Eugenia Loli on Mon 22nd Dec 2003 06:43 UTC
SCO, Caldera, Unixware The SCO Group plans to announce Monday that it is escalating its campaign to collect license fees from corporations using the Linux OS, with warning letters to the companies. Supporters of Linux, including IBM and other companies, say that SCO's interpretation of its claim over Linux is exaggerated.
Permalink for comment
To read all comments associated with this story, please click here.
Ha ha ha ha ah ah!
by Rayiner Hashem on Mon 22nd Dec 2003 19:12 UTC

Whoever posted the "files," it's a riot!

For those of you unfamiliar with UNIX/C, those files are all mostly just headers that map symbolic error and parameter names (ENOMEM, for example), to integers that the API works with directly. Linux supports a number of UNIX API standards, like BSD and most importantly POSIX. Those standards dictate the symbolic names and the numbers that they map to. So *any* implementation of POSIX or the BSD API would have segments that look substantially the same, because frankly, there is only one way to establish the mapping in C: through a #define directive. So the files in question all look like:

#define ENOTSUPP 524
#define ETOOSMALL 525
#define ESERVERFAULT 526
...

I've got code that looks substantially similar to some glibc header files because they both implement the ELF standard. The ELF standard doesn't just give named constants like the above, but it gives complete C structures, member names and all! It even has little functions for getting various pieces of information out of a single bitfield. That kind of stuff is all over UNIX (and many other standards, for that matter) so its no surprise there is lots of code around that looks the same.