Adriaan van Os dixit:
Roland Goretzki wrote:
Es geht darum, aus einem Array von Dateinamen diese mit einem Zufallsgenerator zu referenzieren.
Dann nimm bitte /dev/urandom… das gibts zumindest auf einer Handvoll mehr Systemen, und /dev/random ist oft für „wirklich wichtige Sachen“ reserviert.
Sieht aus wie ein Fehler im Compiler.
Okay, dann sag ich mal, daß ichs reproduzieren kann: tg@odem:~ $ gpc -v Reading specs from /usr/lib/gcc/i386-ecce-mirbsd9/3.4.6/specs Configured with: Thread model: single gpc version 20060325, based on gcc-3.4.6 (propolice; gpc; MirOS 09A7) Ist „nicht ganz vanilla“, aber der gpc-Teil drin ist schon was aktueller als Deiner, Adriaan, darum. Gruß //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt