* globbing error persists
@ 1999-05-23 1:37 Timothy J Luoma
1999-05-23 13:30 ` Peter Stephenson
0 siblings, 1 reply; 3+ messages in thread
From: Timothy J Luoma @ 1999-05-23 1:37 UTC (permalink / raw)
To: zsh-workers
same as I've reported before still occurs w/ 3.1.5-pws-19
# /bin/ls /drives/
IBM3 swapdisk
#/bin/ls /drives/[tab]
#/bin/ls /drives/IBM3
They are different disks FWIW
# df
Filesystem Size Used Avail Capacity Mounted on
/dev/sd0a 994M 690M 205M 77% /
/dev/sd0b 994M 503M 392M 56% /Users
/dev/sd1a 392M 128M 225M 36% /drives/swapdisk
/dev/sd2a 1.3G 837M 362M 70% /usr/local
/dev/sd2b 1.3G 840M 359M 70% /usr/local/Archive
/dev/sd2c 1.3G 32M 1.1G 3% /drives/IBM3
# echo /drives/*
/drives/IBM3/
# echo /drives/*d*
zsh: no matches found: /drives/*d*
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: globbing error persists
1999-05-23 1:37 globbing error persists Timothy J Luoma
@ 1999-05-23 13:30 ` Peter Stephenson
1999-05-23 23:25 ` Timothy J Luoma
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 1999-05-23 13:30 UTC (permalink / raw)
To: zsh-workers
Timothy J Luoma wrote:
> same as I've reported before still occurs w/ 3.1.5-pws-19
The problem is presumably somewhere in the while loop which currently
starts at line 476 in glob.c. fn is successively set to all the files in
the current directory in turn, or should be. Either the zreaddir() is
returning the right files, or it isn't. If it is, there may be a problem
with stat() further on. If it isn't it's hard to see what to do. But
until we know more information about what's actually happening on this
particular system, there's nothing we can do.
Something else to try, though I didn't get an answer to the last lot: do
you have MARKDIRS set? If so, unset it and see if it now works. That
would certainly incriminate stat(), since now it doesn't try to stat() the
file, so try `ls -ld /drives/swapdisk' and see what that gives, and if you
have dynamic loading, `zmodload stat; stat -rs /drives/swapdisk' and see
what that gives.
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: globbing error persists
1999-05-23 13:30 ` Peter Stephenson
@ 1999-05-23 23:25 ` Timothy J Luoma
0 siblings, 0 replies; 3+ messages in thread
From: Timothy J Luoma @ 1999-05-23 23:25 UTC (permalink / raw)
To: Peter Stephenson; +Cc: zsh-workers
Replying to message of Sun, 23 May 1999 15:30:01 +0200
from Peter Stephenson <pws@ibmth.df.unipi.it>
regarding ``Re: globbing error persists ''
> Something else to try, though I didn't get an answer to the last lot: do
> you have MARKDIRS set? If so, unset it and see if it now works. That
> would certainly incriminate stat(), since now it doesn't try to stat() the
> file, so try `ls -ld /drives/swapdisk' and see what that gives, and if you
> have dynamic loading, `zmodload stat; stat -rs /drives/swapdisk' and see
> what that gives.
# setopt|fgrep -i mark
markdirs
# unsetopt markdirs
# /bin/ls /drives/
IBM3 swapdisk
# /bin/ls /drives/*s*
zsh: no matches found: /drives/*s*
# /bin/ls -ld /drives/swapdisk
drwxr-xr-t 3 root 1024 Feb 18 14:24 /drives/swapdisk
# zmodload stat; stat -rs /drives/swapdisk
zsh: correct 'stat' to 'tar' [nyae]? n
zsh: command not found: zmodload
zsh: 19474 exit 1 zmodload stat
zsh: command not found: stat
zsh: 19475 exit 1 stat -rs /drives/swapdisk
TjL
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-05-23 23:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-05-23 1:37 globbing error persists Timothy J Luoma
1999-05-23 13:30 ` Peter Stephenson
1999-05-23 23:25 ` Timothy J Luoma
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).