in reply to eval and variable scope
Another data point for jeffa's results:
version 5.00503 unable to open file file3: No such file or directory unable to open file file2: No such file or directory unable to open file file1: No such file or directory
Update: Fwiw, strace gives the following:
version 5.6.0 open("/no/such/directory/file3", O_RDONLY|0x8000) = -1 ENOENT (No such + file or directory) brk(0x80fa000) = 0x80fa000 fstat(1, {st_mode=S_IFREG|S_ISUID, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) += 0x40014000 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(1, "unable to open file file3: \n", 28) = 28 open("/no/such/directory/file2", O_RDONLY|0x8000) = -1 ENOENT (No such + file or directory) write(1, "unable to open file file2: \n", 28) = 28 open("/no/such/directory/file1", O_RDONLY|0x8000) = -1 ENOENT (No such + file or directory) write(1, "unable to open file file1: No su"..., 53) = 53 SYS_175(0x2, 0xbffff8c4, 0, 0x8, 0x2) = 0 munmap(0x40014000, 4096) = 0 version 5.00503 open("/no/such/directory/file3", O_RDONLY) = -1 ENOENT (No such file o +r directory) open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENO +ENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT + (No such file or directory) fstat64(0x1, 0xbffff6f0) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, +-1, 0) = 0x40468000 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(1, "unable to open file file3: No su"..., 53) = 53 open("/no/such/directory/file2", O_RDONLY) = -1 ENOENT (No such file o +r directory) write(1, "unable to open file file2: No su"..., 53) = 53 open("/no/such/directory/file1", O_RDONLY) = -1 ENOENT (No such file o +r directory) write(1, "unable to open file file1: No su"..., 53) = 53 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 munmap(0x40468000, 4096) = 0
After Compline,
Zaxo
|
|---|