Fix up vendor IDs.

Put a sequence point between writing to a variable and using it.
This commit is contained in:
David Malone 2002-04-13 20:59:48 +00:00
parent 8db523989f
commit 13685eeec2

View File

@ -34,14 +34,15 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <sys/cdefs.h> #if 0
__FBSDID("$FreeBSD$");
#ifndef lint #ifndef lint
static const char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)reverse.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#endif #endif
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#include <sys/param.h> #include <sys/param.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
@ -221,8 +222,10 @@ r_buf(fp)
tl->prev = mark->prev; tl->prev = mark->prev;
mark->prev->next = tl; mark->prev->next = tl;
mark->prev = tl; mark->prev = tl;
} else } else {
mark->next = mark->prev = (mark = tl); mark = tl;
mark->next = mark->prev = mark;
}
/* Fill the block with input data. */ /* Fill the block with input data. */
for (p = tl->l, len = 0; for (p = tl->l, len = 0;