* /usr/bin/ls and /usr/bin/rm Unexpected Behavior when requesting m ore than 1574 files or 96707 bytes of filenames
@ 2002-11-01 1:29 guillot.bernard
0 siblings, 0 replies; 2+ messages in thread
From: guillot.bernard @ 2002-11-01 1:29 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2391 bytes --]
Hi There,
Ok This is another of those weird bug.
If All your filenames adds up to more than 96707 by even just one
char, if you request ls *.data or rm *.data you will get a bash:
/usr/bin/ls: Invalid argument. But ls without a pattern request will work.
Here is what I found so far.
- No one has reported something similar in google or Cygwin mailing
list.
If you have more than 1574 Files (this is the cutting point for me )
you will get
$ bash: /usr/bin/ls: Invalid argument
Also It may not relate to the number of Files as much as the Length of
the all the filenames
attached is a tar of empty touch-ed files 1574 Total that will
extract into it's own directory.
If you add this file
touch aaaaaaaaaaa.data
ls *.data
# everything is fine
# Now Create a file with one more letter in the file and it
will not work
rm aaaaaaaaaaa.data
touch aaaaaaaaaaaa.data
ls *.data
bash: /usr/bin/ls: Invalid argument
# everything Breaks Down
On my Directory the length of all the filenames is 96707 bytes or
\x179C3 if you add one more char as explained before it will fail.
I have the latest release Cygwin as of this posting. PC with Windows
2000 SP3 :-( with 256 Meg of Ram (Plenty left for malloc). The Cygperf is
also included in the attachments.
Regards,
Bernard Guillot
Senior Systems Architect - Information Services Department
Hong Kong International Terminals
You may reach me at theses contacts:
Tel: (852) 2619-6123
Fax: (852) 2485-3315
E-mail: guillot.bernard@hit.com.hk
Web: http://www.hph.com.hk
CONFIDENTIALITY: This communication and any attachment(s) is intended solely
for the person or organisation to which it is addressed and it may be
confidential. If you are not the intended recipient, employee or agent
responsible for delivering the message to the intended recipient you must
not copy, disclose, distribute or take any action in reliance on it. If you
have received this communication in error, please notify the sender
immediately and destroy the original. If this communication has been
received by email please reply and highlight the error to the sender and
delete the original. Thank you.
[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 19733 bytes --]
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Nov 01 17:20:39 2002
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
Path: c:\jakarta-ant-1.3\bin
c:\jdk1.3.1_01\bin
.
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\apache\libexec
C:\cygwin\usr\local\lib
c:\oracle\ora90\bin
c:\Program Files\Oracle\jre\1.1.8\bin
c:\jikes-1.15\bin
C:\cygwin\bin
c:\lrunner\bin
c:\jdk1.3.1_01\bin
c:\cvs
c:\jakarta-ant-1.5\bin
c:\PROGRA~1\SSHCOM~1\SSHSEC~1
c:\WINDOWS
c:\WINDOWS\system32
c:\WINDOWS\system32\WBEM
c:\Program Files\Resource Kit
SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS
CYGWIN = `"error_start:C:\cygwin\bin\dumper.exe title winsymlinks ntsec"'
HOME = `C:\cygwin\home\bguillot'
MAKE_MODE = `unix'
PWD = `/c/project_test3/ngenstress/src/HK/com/hit/ngenstress/loadtest/tests/tmp2'
USER = `60284'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
ANT_HOME = `c:\jakarta-ant-1.3'
APPDATA = `C:\Documents and Settings\60284\Application Data'
BG = `#990066'
COLORFGBG = `15;default'
COLORTERM = `rxvt-xpm'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `HP'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `:pserver:guillot.bernard@cvs03.hit.com.hk:/sw/users/srcctrl/repository'
DISPLAY = `:0'
FG = `#ffffff'
HOMEDRIVE = `O:'
HOMEPATH = `\USERHOME\ISD\60284'
HOMESHARE = `\\HITFS03\HITROOT$'
IBM_JAVA_OPTIONS = `-Xrunmicsupp -Xbootclasspath/a:C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes;C:\PROGRA~1\COMMON~1\MERCUR~1\SHARED~1\JAVAAD~1\classes\mic.jar'
JAVA_HOME = `c:\jdk1.3.1_01'
LOGNAME = `60284'
LOGONSERVER = `\\HP'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/c/project_test3/ngenstress/src/HK/com/hit/ngenstress/loadtest/tests/tmp2/tmp5'
OS2LIBPATH = `C:\WINDOWS\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
POSX = `100'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `080a'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[34m\]\u@\h \[\033[30m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\60284\LOCALS~1\Temp'
TERM = `cygwin'
USERDOMAIN = `HITDOM00'
USERNAME = `60284'
USERPROFILE = `C:\Documents and Settings\60284'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINDOWID = `168034952'
_ = `/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `C:/cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
(default) = `c:'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `C:/cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `C:/cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
(default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
a: fd N/A N/A
c: hd NTFS 18802Mb 88% CP CS UN PA FC HPNOTEBOOK
d: cd N/A N/A
i: net NTFS 13029Mb 80% CP CS UN PA FC
o: net NTFS 173381Mb 64% CP CS UN PA FC UserData
p: net NTFS 173381Mb 64% CP CS UN PA FC UserData
. /cygdrive user binmode,cygdrive
C:/cygwin / system binmode
c: /c system binmode
C:/cygwin/bin /usr/bin system binmode
C:/cygwin/lib /usr/lib system binmode
C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode
. /cygdrive user binmode,cygdrive
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe
114k 2001/11/19 C:\cygwin\usr\local\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/11/18 0:05
58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/7 14:33
6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2002/6/25 2:23
625k 2002/08/09 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/8/10 4:20
475k 2002/10/11 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-2.dll" v0.0 ts=2002/10/12 5:53
136k 2002/10/17 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2002/10/17 23:21
50k 2002/03/17 C:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
"cygexslt-0.dll" v0.0 ts=2002/3/17 14:24
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 13:28
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 14:03
19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/20 11:05
490k 2002/09/21 C:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
"cygguile-12.dll" v0.0 ts=2002/9/21 18:01
63k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2002/9/21 18:01
24k 2002/09/21 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2002/9/21 18:01
14k 2002/09/21 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-v-12-12.dll" v0.0 ts=2002/9/21 18:01
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/7 12:34
20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/10/11 1:28
929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2002/6/25 2:24
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 17:28
28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/9/20 11:13
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/21 1:09
81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/11/26 9:43
35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/11/26 9:43
59k 2002/09/20 C:\cygwin\bin\cygkpathsea-3-3-7.dll - os=4.0 img=1.0 sys=4.0
"cygkpathsea-3-3-7.dll" v0.0 ts=2002/9/20 22:54
25k 2002/07/16 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2002/7/16 12:05
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 13:27
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 14:03
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 13:29
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 14:03
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 13:17
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 14:03
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 13:27
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 14:03
40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/22 6:15
39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/22 6:15
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 13:45
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/7 12:34
127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/10/11 1:28
159k 2002/08/09 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/8/10 4:20
390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/11/26 9:39
5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/11/26 9:39
623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/11/26 9:43
633k 2002/07/22 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
"cygxml2-2.dll" v0.0 ts=2002/7/22 14:29
152k 2002/03/17 C:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
"cygxslt-1.dll" v0.0 ts=2002/3/17 14:19
15k 2002/03/17 C:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
"cygxsltbreakpoint-1.dll" v0.0 ts=2002/3/17 14:24
50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/12 12:38
905k 2002/10/24 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/10/24 22:48
Cygwin DLL version info:
DLL version: 1.3.14
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 62
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Thu Oct 24 10:48:11 EDT 2002
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: C:\Download\Cygwin
Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin
Package Version
ELFIO 1.0.0-1
_update-info-dir 00078-1
ash 20020731-1
astyle 1.15.3-3
autoconf 2.53b-1
autoconf-devel 2.53a-1
autoconf-stable 2.13-4
automake 1.6.2-1
automake-devel 1.6.2-1
automake-stable 1.4p5-5
base-files 1.0-1
base-passwd 1.0-1
bash 2.05b-5
bc 1.06-1
binutils 20020706-2
bison 1.75-1
byacc 1.9-1
bzip2 1.0.2-2
ccache 1.9-1
cmake 1.4.6-1
crypt 1.0-1
ctags 5.2-1
curl 7.10.1-1
curl-devel 7.10.1-1
cvs 1.11.0-1
cygutils 1.1.2-1
cygwin 1.3.14-1
cygwin-doc 1.2-1
dejagnu 20010117-1
diff 1.0-1
diffutils 2.8.1-1
dpkg 1.10.4-2
ed 0.2-1
expat 1.95.5-1
expect 20010117-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
gawk 3.1.1-5
gcc 3.2-1
gcc-mingw 3.2-20020817-1
gcc2 2.95.3-10
gdb 20010428-3
gdbm 1.8.0-4
gettext 0.11.5-1
gettext-devel 0.11.5-1
gperf 0.0
grep 2.5-1
groff 1.17.2-1
guile 1.6.0-1
guile-devel 1.6.0-1
guile-doc 1.6.0-1
gzip 1.3.3-4
indent 2.2.8-1
less 374-1
libbz2_1 1.0.2-2
libcharset1 1.8-2
libguile12 1.6.0-1
libiconv 1.8-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libkpathsea3 20020911-1
libltdl3 20020705-2
libncurses5 5.2-1
libncurses6 5.2-8
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-2
libtool 20020705-1
libtool-devel 20020705-2
libtool-stable 1.4.2-2
libxml2 2.4.23-1
libxslt 1.0.13-1
lilypond-doc 1.6.5-1
links 0.96-1
login 1.4-4
lynx 2.8.4-1
m4 0.0
make 3.79.1-7
man 1.5g-2
mingw-runtime 2.2-1
mktemp 1.4-1
more 2.11o-1
ncurses 5.2-8
newlib-man 20020801
openssh 3.4p1-5
openssl 0.9.6g-1
openssl-devel 0.9.6g-1
patch 2.5-3
pcre 3.7-1
perl 5.6.1-2
pinfo 0.6.6p1-1
pkgconfig 0.12.0-1
rcs 5.7-3
readline 4.3-2
rsync 2.5.5-1
rxvt 2.7.2-14
sed 3.02-1
sh-utils 2.0-2
swig 1.3.16-1
tar 1.13.25-1
tcltk 20001125-1
termcap 20020930-1
terminfo 5.2-3
tetex-devel 20020911-1
tetex-doc 20020911-1
texinfo 4.2-4
textutils 2.0.21-1
vim 6.1-2
w32api 2.0-1
wget 1.8.2-1
which 1.5-1
zlib 1.1.4-1
Use -h to see help about each section
[-- Attachment #3: problemCygwin.tar.gz --]
[-- Type: application/octet-stream, Size: 20538 bytes --]
[-- Attachment #4: Type: text/plain, Size: 214 bytes --]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /usr/bin/ls and /usr/bin/rm Unexpected Behavior when requesting m ore than 1574 files or 96707 bytes of filenames
[not found] <D742D3BA5806D5118E3500306E0026C2057F4AEC@hitxch02.hit.com. hk>
@ 2002-11-01 5:42 ` Larry Hall (RFK Partners, Inc)
0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-11-01 5:42 UTC (permalink / raw)
To: guillot.bernard, cygwin
Perhaps you'll find 'xargs' helpful.
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
At 04:29 AM 11/1/2002, guillot.bernard@hit.com.hk wrote:
>Hi There,
> Ok This is another of those weird bug.
>
> If All your filenames adds up to more than 96707 by even just one
>char, if you request ls *.data or rm *.data you will get a bash:
>/usr/bin/ls: Invalid argument. But ls without a pattern request will work.
>
> Here is what I found so far.
> - No one has reported something similar in google or Cygwin mailing
>list.
>
> If you have more than 1574 Files (this is the cutting point for me )
>you will get
> $ bash: /usr/bin/ls: Invalid argument
>
> Also It may not relate to the number of Files as much as the Length of
>the all the filenames
>
> attached is a tar of empty touch-ed files 1574 Total that will
>extract into it's own directory.
>
> If you add this file
> touch aaaaaaaaaaa.data
> ls *.data
> # everything is fine
>
> # Now Create a file with one more letter in the file and it
>will not work
> rm aaaaaaaaaaa.data
> touch aaaaaaaaaaaa.data
> ls *.data
> bash: /usr/bin/ls: Invalid argument
> # everything Breaks Down
>
>
> On my Directory the length of all the filenames is 96707 bytes or
>\x179C3 if you add one more char as explained before it will fail.
>
> I have the latest release Cygwin as of this posting. PC with Windows
>2000 SP3 :-( with 256 Meg of Ram (Plenty left for malloc). The Cygperf is
>also included in the attachments.
>
>
>Regards,
>
>Bernard Guillot
>
>Senior Systems Architect - Information Services Department
>Hong Kong International Terminals
>
>You may reach me at theses contacts:
>Tel: (852) 2619-6123
>Fax: (852) 2485-3315
>E-mail: guillot.bernard@hit.com.hk
>Web: http://www.hph.com.hk
>
>
>CONFIDENTIALITY: This communication and any attachment(s) is intended solely
>for the person or organisation to which it is addressed and it may be
>confidential. If you are not the intended recipient, employee or agent
>responsible for delivering the message to the intended recipient you must
>not copy, disclose, distribute or take any action in reliance on it. If you
>have received this communication in error, please notify the sender
>immediately and destroy the original. If this communication has been
>received by email please reply and highlight the error to the sender and
>delete the original. Thank you.
>
>
>
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-01 13:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 1:29 /usr/bin/ls and /usr/bin/rm Unexpected Behavior when requesting m ore than 1574 files or 96707 bytes of filenames guillot.bernard
[not found] <D742D3BA5806D5118E3500306E0026C2057F4AEC@hitxch02.hit.com. hk>
2002-11-01 5:42 ` Larry Hall (RFK Partners, Inc)
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 read-only IMAP folder(s) and NNTP newsgroup(s).