|
Why SCO won't show the codeWhy SCO won't show the codePosted Aug 19, 2003 18:36 UTC (Tue) by ken (subscriber, #625)In reply to: Why SCO won't show the code by rfunk Parent article: Why SCO won't show the code
ls -l ./usr/sys/ken/malloc.c
The comment in that file is not the same and some whitespace differs but
(Log in to post comments)
This is 30 year old source code! Posted Aug 19, 2003 19:09 UTC (Tue) by mdrejhon (guest, #14189) [Link] Found the V5 source code in its entirety:Photo of SCO Slide: Near exact match to 30 year old source code in V5: What the heck is SCO doing, claiming 30 year old source code as their own?
Why SCO won't show the code Posted Aug 19, 2003 19:11 UTC (Tue) by rfunk (subscriber, #4054) [Link] Hmm, you're right. In my Jan 2002 copy of the tuhs.org site I found PDP-11/Distributions/research/Dennis_v5/v5root.tar.gz, which contains this /usr/sys/ken/malloc.c:
#
/*
* Copyright 1973 Bell Telephone Laboratories Inc
*/
struct map {
char *m_size;
char *m_addr;
};
malloc(mp, size)
struct map *mp;
{
register int a;
register struct map *bp;
for (bp = mp; bp->m_size; bp++) {
if (bp->m_size >= size) {
a = bp->m_addr;
bp->m_addr =+ size;
if ((bp->m_size =- size) == 0)
do {
bp++;
(bp-1)->m_addr = bp->m_addr;
} while ((bp-1)->m_size = bp->m_size);
return(a);
}
}
return(0);
}
mfree(mp, size, aa)
struct map *mp;
{
register struct map *bp;
register int t;
register int a;
a = aa;
for (bp = mp; bp->m_addr<=a && bp->m_size!=0; bp++);
if (bp>mp && (bp-1)->m_addr+(bp-1)->m_size == a) {
(bp-1)->m_size =+ size;
if (a+size == bp->m_addr) {
(bp-1)->m_size =+ bp->m_size;
while (bp->m_size) {
bp++;
(bp-1)->m_addr = bp->m_addr;
(bp-1)->m_size = bp->m_size;
}
}
} else {
if (a+size == bp->m_addr && bp->m_size) {
bp->m_addr =- size;
bp->m_size =+ size;
} else if (size) do {
t = bp->m_addr;
bp->m_addr = a;
a = t;
t = bp->m_size;
bp->m_size = size;
bp++;
} while (size = t);
}
}
Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA INTERNATIONAL, INC.AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Why SCO won't show the code Posted Aug 19, 2003 23:50 UTC (Tue) by Xman (subscriber, #10620) [Link] Note that because this has the advertising clause, it's actually GPL incompatible.
Copyright date Posted Aug 21, 2003 20:31 UTC (Thu) by Ross (subscriber, #4065) [Link] This isn't really relavant to the current issue, but how can they put a2002 copyright date on a file which was not changed since written and published in 1973? The file even contains the original 1973 copyright notice. Seems like an invalid copyright extension to me.
Why SCO won't show the code Posted Aug 19, 2003 19:37 UTC (Tue) by rfunk (subscriber, #4054) [Link] "nsys" code, Aug 1973, dating between v3 and v4.http://minnie.tuhs.org/UnixTree/Nsys/sys/nsys/dmr/malloc.c.html The v6 code (May 1975) is where these comments are introduced. http://minnie.tuhs.org/UnixTree/V6/usr/sys/ken/malloc.c.html
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.