[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SpeechIO-14] mknod vs. mkfifo




/dev/speech is created with:

  if( system('mknod',$fifo,'p') && system('mkfifo',$path) ) {
    die "error creating '$fifo' $!\n";
  }

should this be

  if( !system('mknod',$fifo,'p') && !system('mkfifo',$fifo) ) {
    die "error creating '$fifo' $!\n";
  }

?

__________________________________________________________________
PGP fingerprint = 03 5B 9B A0 16 33 91 2F  A5 77 BC EE 43 71 98 D4
            darxus@op.net / http://www.op.net/~darxus
                         Far Beyond Reason