Leaked Windows code shows similarity to UNIX
Now that the cat is out of the bag, I guess it is plain to see that windows shares a lot of similarities with Unix. SCO would be very interested to know that some lines of code are identical between windows and Unix System V sources.
For example, I found this line in particular to be quite the tell-tale.
for (char *pstr = str; *pstr; pstr++) { ... }
This line of code I found all over the place in windows. Sometimes those crafty windows devs changed the variable name, but the logic was the same.
You can bet your booty that this was lifted out of UNIX kernel files that predate Windows sources by quite a bit. Luckily, Microsoft has absolved themselves by paying for the right to use the patented 'system for iteration of a character array' covered by the Unix brand.
Unfortunately, I also found this same logic all throughout the Linux sources. This may mean the end for Red-Hat.
But I digress
Matt
Comments
- Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 16, 2004
Ivonna (moo), no one bought your gag when you made the same exact posts on my blog, no one will believe them now. - Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 16, 2004
I'm not aware of any ban on using hungarian notation. ADO and the rest of the data access stack shipped as part of windows 2000/NT5 and was full of hungarian. - Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 16, 2004
I have removed all comments posting actual source code. - Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 16, 2004
Dave may have said something along those lines, but it is another matter to actually set policy and be willing to take the 6 months to 1 year hit to rename everything. - Anonymous
February 16, 2004
yeah I bet he called everybody "n00bs" also :D - Anonymous
February 16, 2004
Heh I have RW access to ALOT of BU products source here so yeah, the quality has little to be desired with exceptions that are very exceptional. - Anonymous
February 16, 2004
The comment has been removed - Anonymous
February 17, 2004
Sarcasm as an artform - Anonymous
July 25, 2004
The comment has been removed - Anonymous
March 16, 2008
PingBack from http://cityjokesblog.info/the-wayward-weblog-leaked-windows-code-shows-similarity-to-unix/