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


Comments (15)

  1. Ivonna Vackoff [MSFT] says:

    And another point, I thought HUNGARIAN NOTATION was NOT PERMITTED on the live code tree.

    WTF why are we using HN ????

  2. Mitch Walker says:

    Ivonna (moo), no one bought your gag when you made the same exact posts on my blog, no one will believe them now.

  3. Ivonna Vackoff [MSFT] says:

    Well, go look at the fuckin code, THAT IS LIVE Windows 2000 code.

  4. Ivonna Vackoff [MSFT] says:

    Do you belive me now 😀

    I dont dick about, u trolled so i bit.

    I have no problems posting live fuckin Windows code to prove an issue.

  5. Matt says:

    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.

  6. Ivonna Vackoff [MSFT] says:

    Wasnt that one of the first things Dave Cutler said, something like "OMFG WTF IS THIS HN CRAP"

  7. Matt says:

    I have removed all comments posting actual source code.

  8. Ivonna Vackoff [MSFT] says:

    Well, that other tard was asking for it 😀

  9. Matt says:

    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.

  10. Ivonna Vackoff [MSFT] says:

    yeah I bet he called everybody "n00bs" also 😀

  11. Ivonna Vackoff [MSFT] says:

    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.

  12. In the bag tonight: .NET: 9; Admin: 1; Blogging: 2; Dev: 7; Perl: 1; Rant: 5; Securoty: 1; SQL: 3; Tools: 2; Writing: 2; WTF?: 1; WILY: 3; XML: 5.

    Line of the night:

  13. Blog rater says:

    This is one fuckin’ crap blog.

Skip to main content