arla 0.35.4pre2 on MacOS X bug

Michael Sperber [Mr. Preprocessor] sperber at informatik.uni-tuebingen.de
Sat Apr 21 19:14:24 CEST 2001



cat and cp don't agree on this system:

[robinson:/tmp] sperber% uname -a
Darwin robinson 1.3 Darwin Kernel Version 1.3: Thu Mar  1 06:56:40 PST 2001; root:xnu/xnu-123.5.obj~1/RELEASE_PPC  Power Macintosh powerpc
[robinson:/tmp] sperber% cp /afs/<some path>/c.c .
[robinson:/tmp] sperber% cat c.c
#include "confdefs.h"

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^\
@^@\353\253\254\221^@
[robinson:/tmp] sperber% cat /afs/<some path>/c.c
#include <stdio.h>

int
main(int argc, char *argv[])
{
  return 0;
}

My wild guess is cp uses mmap, and that there's a problem with that.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla





More information about the Arla-drinkers mailing list