Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!cosell@bbn-labs-b.ARPA From: cosell@bbn-labs-b.ARPA (Bernie Cosell) Newsgroups: net.lang.c Subject: Another trap in ++ Message-ID: <9924@brl-tgr.ARPA> Date: Fri, 12-Apr-85 14:18:26 EST Article-I.D.: brl-tgr.9924 Posted: Fri Apr 12 14:18:26 1985 Date-Received: Sun, 14-Apr-85 06:47:10 EST Sender: news@brl-tgr.ARPA Lines: 10 I realize this has been beaten to death, but there is a case that has popped up often enough in code that I've had to debug that it clearly seduces folk into forgetting that they're doing something slightly off-color. The situation pops up in cases like this: handle = hash (*p++, *p++); Clearly the person thought they were doing something straightforward (after all, "*ptr++" is the `atomic' load-a-byte construct in C, right??) whereas they were really playing with fire.... /bernie