Perl, tcsh i utmp
Marcin 'Qrczak' Kowalczyk
qrczak w knm.org.pl
Pią, 16 Cze 2000, 09:49:17 CEST
Fri, 16 Jun 2000 07:24:29 +0200, Artur Frysiak <wiget w t17.ds.pwr.wroc.pl> pisze:
> Czy aby napewno w 5.6.0 już nie korzysta z wołania csh do robienia glob() ?
> Gdy oglądałem źródła to nadal było tam magiczne wołanie csh, ale może źle
> widziałam.
Hmm...
[qrczak ~]$ strace -f -o >(grep csh) perl -e '@x = glob ("*")'
Process 31362 attached
31362 execve("/bin/sh", ["sh", "-c", "/bin/csh -cf \'set nonomatch; glo"...], [/* 39 vars */]) = 0
31362 stat("/bin/csh", {st_mode=S_IFREG|0755, st_size=271680, ...}) = 0
31362 access("/bin/csh", X_OK) = 0
Process 31363 attached
31363 execve("/bin/csh", ["/bin/csh", "-cf", "set nonomatch; glob *"], [/* 39 vars */]) = 0
31363 open("/usr/share/locale/pl/tcsh", O_RDONLY) = -1 ENOENT (No such file or directory)
31363 open("/usr/share/locale/pl/LC_MESSAGES/tcsh", O_RDONLY) = -1 ENOENT (No such file or directory)
31363 open("/usr/share/locale/pl/tcsh", O_RDONLY) = -1 ENOENT (No such file or directory)
31363 open("/usr/share/locale/pl/LC_MESSAGES/tcsh", O_RDONLY) = -1 ENOENT (No such file or directory)
Process 31363 detached
Process 31362 detached
[qrczak ~]$ strace -f -o >(grep csh) perl5.6.0 -e '@x = glob ("*")'
[qrczak ~]$ _
--
__("< Marcin Kowalczyk * qrczak w knm.org.pl http://qrczak.ids.net.pl/
\__/ GCS/M d- s+:-- a23 C+++$ UL++>++++$ P+++ L++>++++$ E-
^^ W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK 5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-
Więcej informacji o liście dyskusyjnej pld-devel-pl