2 Aug 2004 18:10
Re: PLEASE TEST: pkgtools changes
Dixitur illum bsiegert@... scribere... >Apply the patch (see below) and test it. It would also be nice if someone >could see through the patch and check for mistakes. FWIW, it builds with <at> <at> -38,6 +38,7 <at> <at> char *cp; char name[FILENAME_MAX]; char buf[LegibleChecksumLen]; + int len; for (p = pkg->head ; p ; p = p->next) { switch (p->type) { -> indenting + break; + case PLIST_INFO: -> I'd rather put the PLIST_INFO case _before_ the PLIST_FILE case and have it fall through, i.e. no break; statement. This gets rid of the "there is no MD5 for info files" problem you told me about, and reduces duplicate code. Two general problems I _think_ might still be there: * in OpenBSD, <at> info foo.info scans for foo.info-1, foo.info-2 etc. and also adds them (we prefer --no-split anyway, but...) * the <at> dirrm list must be reversely sorted, you might want to use(Continue reading)
RSS Feed