Date: Mon, 14 Aug 2006 20:40:00 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103903 for review Message-ID: <200608142040.k7EKe0fS026997@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103903 Change 103903 by jb@jb_freebsd2 on 2006/08/14 20:39:02 Remove some hacks which aren't needed after the last integration from libbsdelf. Affected files ... .. //depot/projects/dtrace/src/lib/libelf/elf_next.c#3 edit Differences ... ==== //depot/projects/dtrace/src/lib/libelf/elf_next.c#3 (text+ko) ==== @@ -38,15 +38,12 @@ Elf_Cmd elf_next(Elf *e) { -#ifdef DOODAD off_t next; Elf *parent; -#endif if (e == NULL || (parent = e->e_parent) == NULL) return (ELF_C_NULL); -#ifdef DOODAD assert (parent->e_kind == ELF_K_AR); assert (parent->e_cmd == ELF_C_READ); assert((uintptr_t) e->e_rawfile % 2 == 0); @@ -56,7 +53,6 @@ next = (next + 1) & ~1; /* round up to next 2-byte offset */ parent->e_u.e_ar.e_next = (next >= parent->e_rawsize) ? (off_t) -1 : next; -#endif return (ELF_C_READ); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608142040.k7EKe0fS026997>