--- src/usr.bin/make/lst.lib/Attic/lstDupl.c 2004/12/10 19:22:25 1.8 +++ src/usr.bin/make/lst.lib/Attic/lstDupl.c 2004/12/16 23:24:10 1.9 @@ -75,7 +75,7 @@ Lst_Duplicate(Lst list, DuplicateProc *c return (NULL); } - nl = Lst_Init(list->isCirc); + nl = Lst_Init(); if (nl == NULL) { return (NULL); } @@ -90,11 +90,7 @@ Lst_Duplicate(Lst list, DuplicateProc *c return (NULL); } - if (list->isCirc && ln == list->lastPtr) { - ln = NULL; - } else { - ln = ln->nextPtr; - } + ln = ln->nextPtr; } return (nl);