public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Bug.   "File or path name too long"
@ 2000-03-10  9:59 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-03-10  9:59 UTC (permalink / raw)
  To: Derek Haskin, 'cygwin@sourceware.cygnus.com'

--- Derek Haskin <derek.haskin@commerceone.com> wrote:
> Earnie thanks for the quick response. But I think I should have provided you
> with more information.
> 
> The path/file name I am passing is 117 characters in length which is under
> the 259 character limit.
> 
> From a dos command prompt I ran two commands. The first using dos "dir"
> command which works fine.
> Then I ran the ls command using the same parameter and I get the "File or
> path name too long" problem.
> So to me this indicates that it is a problem specific to the bash shell
> commands.
> 
> I get the same problem when I use other bash shell commands such as "cp".
> 
-8<- 
> 
> Please advise.
> 

Hmm...  It could actually be in one of three or all three places.  It could be
the bash shell as you say, it could be the individual executable, or possibly
even Cygwin itself.

My advise: Use the source, Luke, use the source.  Then, submit patches so
others won't have the problem.


=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Bug.   "File or path name too long"
  2000-03-13 19:28 Earnie Boyd
@ 2000-03-13 19:31 ` Chris Faylor
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Faylor @ 2000-03-13 19:31 UTC (permalink / raw)
  To: cygwin users

On Mon, Mar 13, 2000 at 07:28:48PM -0800, Earnie Boyd wrote:
>> "D:/Cygwin/bin/bash.exe"-2.03$ mkdir -p /cygdrive/d/builds/des22/tmp/dsaf
>> mkdir: cannot create directory `/cygdrive': No such file or directory
>
>Has anyone else on the list seen this before?

Yes.  It's a know problem in the CD.  I didn't have time to fix it
before the CD was pressed.  It should be fixed in later snapshots.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Bug.   "File or path name too long"
@ 2000-03-13 19:28 Earnie Boyd
  2000-03-13 19:31 ` Chris Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Earnie Boyd @ 2000-03-13 19:28 UTC (permalink / raw)
  To: Derek Haskin; +Cc: cygwin users

--- Derek Haskin <derek.haskin@commerceone.com> wrote:
> Just want to make sure that you are aware that we purchased the Cygnus 1.0
> version as apposed to using the Cygnus beta version.
> 

That just means that you already have the source code packaged in one place a
readily available.  It's still an open source project.

> anyway here is another bug. the "mkdir -p"  does not work with the
> /cygdrive/... format
> any clues.
> 

I've not seen this reported before.  

> 
> "D:/Cygwin/bin/bash.exe"-2.03$ ls /cygdrive/d/builds
> home      p4env     sh_histo
> 
> "D:/Cygwin/bin/bash.exe"-2.03$ mkdir -p /cygdrive/d/builds/des22/tmp/dsaf
> mkdir: cannot create directory `/cygdrive': No such file or directory
> 
> "D:/Cygwin/bin/bash.exe"-2.03$ mkdir -p //d/builds/des22/tmp/dsaf
> 
> "D:/Cygwin/bin/bash.exe"-2.03$ ls /cygdrive/d/builds
> des22     home      p4env     sh_histo
> 
> 

I'll have to give your scenario a whirl.  BTW, please report to the list and
not directly to me.  I'm simply a meer user lending some advice.  If you report
to the list then you'll help everyone envolved with Cygwin.

Has anyone else on the list seen this before?


=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Bug.   "File or path name too long"
@ 2000-03-12 12:20 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-03-12 12:20 UTC (permalink / raw)
  To: Derek Haskin; +Cc: cygwin users

Hi Derek,

Yes, I'm suggesting that you debug the Cygwin code.  This is an open source
project with very few contributors.  We need all the help we can get on
debugging, so if you're having a problem that is uncommon to others then you
should help debug the code and submit patches.  If you're patches are extensive
then you must submit the proper release forms find out the cygwin webpage.

Earnie.

--- Derek Haskin <derek.haskin@commerceone.com> wrote:
> so i just want to clarify;
> are you suggesting that I debug the cygnus code line.
> 
> derek.
> 
> -----Original Message-----
> From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
> Sent: Friday, March 10, 2000 11:54 AM
> To: Derek Haskin
> Subject: RE: Bug. "File or path name too long"
> 
> 
> Download the source files using ftp.
> Using a debugger such as gdb find the bug.
> Using your favorite editor, modify the source and rebuild it.
> Test this version and if it works use the diff program create a suitable
> differences file.
> Submit that file to the list.
> 
> Earnie.
> 
> --- Derek Haskin <derek.haskin@commerceone.com> wrote:
> > "My advise: Use the source, Luke, use the source.  Then, submit patches so
> > others won't have the problem."
> > 
> > I don't know what the above statements means. Could you clarify.
> > 
> > thanks
> > derek.
> > 
> > 
> > -----Original Message-----
> > From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
> > Sent: Friday, March 10, 2000 9:59 AM
> > To: Derek Haskin; 'cygwin@sourceware.cygnus.com'
> > Subject: RE: Bug. "File or path name too long"
> > 
> > 
> > --- Derek Haskin <derek.haskin@commerceone.com> wrote:
> > > Earnie thanks for the quick response. But I think I should have provided
> > you
> > > with more information.
> > > 
> > > The path/file name I am passing is 117 characters in length which is
> under
> > > the 259 character limit.
> > > 
> > > From a dos command prompt I ran two commands. The first using dos "dir"
> > > command which works fine.
> > > Then I ran the ls command using the same parameter and I get the "File
> or
> > > path name too long" problem.
> > > So to me this indicates that it is a problem specific to the bash shell
> > > commands.
> > > 
> > > I get the same problem when I use other bash shell commands such as
> "cp".
> > > 
> > -8<- 
> > > 
> > > Please advise.
> > > 
> > 
> > Hmm...  It could actually be in one of three or all three places.  It
> could
> > be
> > the bash shell as you say, it could be the individual executable, or
> > possibly
> > even Cygwin itself.
> > 
> > My advise: Use the source, Luke, use the source.  Then, submit patches so
> > others won't have the problem.
> > 
> > 
> > =====
> > ---
> >    Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
> >             __Cygwin: POSIX on Windows__
> > Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
> >            __Minimalist GNU for Windows__
> >   Mingw32 List: < http://www.egroups.com/group/mingw32/ >
> >     Mingw Home: < http://www.mingw.org/ >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> > 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Bug.   "File or path name too long"
@ 2000-03-10  9:39 Derek Haskin
  0 siblings, 0 replies; 7+ messages in thread
From: Derek Haskin @ 2000-03-10  9:39 UTC (permalink / raw)
  To: 'earnie_boyd@yahoo.com', 'cygwin@sourceware.cygnus.com'

Earnie thanks for the quick response. But I think I should have provided you
with more information.

The path/file name I am passing is 117 characters in length which is under
the 259 character limit.

From a dos command prompt I ran two commands. The first using dos "dir"
command which works fine.
Then I ran the ls command using the same parameter and I get the "File or
path name too long" problem.
So to me this indicates that it is a problem specific to the bash shell
commands.

I get the same problem when I use other bash shell commands such as "cp".


THIS "dir" COMMAND WORKS
------------------------

>dir
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox
\AlternateTradingPartnerID.class
 Volume in drive D has no label.
 Volume Serial Number is B8F5-71F4

 Directory of
D:\builds\home\projects\marketsite\CommercePlatform_30\2000_03_09_14_41\ccs\
classes\com\commerceone\ccs\doclet\registration\Registration_sox

03/09/00  05:32p                 1,214 AlternateTradingPartnerID.class
               1 File(s)          1,214 bytes
                         48,662,761,472 bytes free



THIS "ls" COMMAND DOES NOT WORK
-------------------------------

>ls
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox\AlternateTradingPartnerID.class
ls:
..\..\..\..\..\..\..\classes\com\commerceone\ccs\doclet\registration\Registr
ation_sox\AlternateTradingPartnerID.class: File or path name too long


Please advise.

thanks
derek.

-----Original Message-----
From: Earnie Boyd [ mailto:earnie_boyd@yahoo.com ]
Sent: Friday, March 10, 2000 6:34 AM
To: Derek Haskin; 'cygwin@sourceware.cygnus.com'
Subject: Re: Bug. "File or path name too long"


The path size limit is set by MAX_PATH and is a limitation of the M$ Windows
system.  It's set to 260 which is the NT limit including the terminating
NULL. 
I believe the limit to be 259 for Win9x (at least Win95).

--- Derek Haskin <derek.haskin@commerceone.com> wrote:
> I have installed Cygwin 1.0 on a new Machine.
> 
> I am experiencing a problem where it seems that I am reaching the limit on
> how long a path/filename can be.
> I first experienced this during "make" which tries to create a class file
> but can;t because the pathname/filename is too long.
> 
-8<-

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Bug.   "File or path name too long"
@ 2000-03-10  6:34 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-03-10  6:34 UTC (permalink / raw)
  To: Derek Haskin, 'cygwin@sourceware.cygnus.com'

The path size limit is set by MAX_PATH and is a limitation of the M$ Windows
system.  It's set to 260 which is the NT limit including the terminating NULL. 
I believe the limit to be 259 for Win9x (at least Win95).

--- Derek Haskin <derek.haskin@commerceone.com> wrote:
> I have installed Cygwin 1.0 on a new Machine.
> 
> I am experiencing a problem where it seems that I am reaching the limit on
> how long a path/filename can be.
> I first experienced this during "make" which tries to create a class file
> but can;t because the pathname/filename is too long.
> 
-8<-

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Bug.   "File or path name too long"
@ 2000-03-09 19:12 Derek Haskin
  0 siblings, 0 replies; 7+ messages in thread
From: Derek Haskin @ 2000-03-09 19:12 UTC (permalink / raw)
  To: 'cygwin@sourceware.cygnus.com'

I have installed Cygwin 1.0 on a new Machine.

I am experiencing a problem where it seems that I am reaching the limit on
how long a path/filename can be.
I first experienced this during "make" which tries to create a class file
but can;t because the pathname/filename is too long.

I also found the same problem when I try to do an ls.

I also have a beta version of cygnus installed which does not have this
problem.

Please advise me on how this can be fixed.

THIS WORKS

> ls ../../../../../../../classes/com/commerceone/ccs/doclet/registrati
on/Registration_sox/AlternateTradin1234567
../../../../../../../classes/com/commerceone/ccs/doclet/registration/Registr
atio
n_sox/AlternateTradin1234567

THIS DOES NOT WORK
> ls ../../../../../../../classes/com/commerceone/ccs/doclet/registrati
on/Registration_sox/AlternateTradin12345678
ls:
../../../../../../../classes/com/commerceone/ccs/doclet/registration/Registr
ation_sox/AlternateTradin12345678: File or path name too long
Note this is just one more charater, and this file does exist in the
location.



OUTPUT FROM BUILD

jvc /g /w4 /x- /nologo /nomessage /d ../../../../../../../classes /cp:p
".;../..
/../../../../../classes;../../../../../../..;../../../../../../../soxbeans;.
./..
/../../../../../external/lib/iaik.jar;../../../../../../../external/lib/ccs_
util
.jar;../../../../../../../external/lib/ccs_event.jar;../../../../../../../ex
tern
al/lib/ccs_xdk.jar;../../../../../../../external/lib/ccs_dir.jar;../../../..
/../
../../external/lib/ccs_xdkdir.jar;../../../../../../../external/lib/jsdk.jar
;../
../../../../../../external/lib/jigsawlite.jar;../../../../../../../external/
lib/
mail.jar;../../../../../../../external/lib/activation.jar;../../../../../../
../e
xternal/lib/swingall.jar;../../../../../../../external/lib/jndi.jar;../../..
/../
../../../external/lib/fscontext.jar;../../../../../../../external/lib/provid
erut
il.jar;../../../../../../../external/lib/ldap.jar"
AlternateTradingPartnerID.jav
a
AlternateTradingPartnerIDAttributes.java(18,2) : error J0005: Cannot open
class
file
'../../../../../../../classes\com\commerceone\ccs\doclet\registration\Regis
tration_sox\AlternateTradingPartnerIDAttributes.class' for writing
make[7]: ***
[../../../../../../../classes/com/commerceone/ccs/doclet/registrati
on/Registration_sox/AlternateTradingPartnerID.class] Error 1
make[7]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/soxbeans/com/commerceone/ccs/doclet/registr
atio
n/Registration_sox'
make[6]: ***
[../../../../../../soxbeans/com/commerceone/ccs/doclet/registration
/Registration_sox/Registration.timestamp] Error 2
make[6]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com/commerceone/ccs/doclet/registration/n1_
0'
make[5]: *** [default] Error 1
make[5]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com/commerceone/ccs/doclet/registration'
make[4]: *** [default] Error 1
make[4]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com/commerceone/ccs/doclet'
make[3]: *** [default] Error 1
make[3]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com/commerceone/ccs'
make[2]: *** [default] Error 1
make[2]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com/commerceone'
make[1]: *** [default] Error 1
make[1]: Leaving directory
`/cygdrive/d/builds/home/projects/marketsite/Commerce
Platform_30/2000_03_09_14_41/ccs/com'
make: *** [default] Error 1



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-13 19:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-10  9:59 Bug. "File or path name too long" Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
2000-03-13 19:28 Earnie Boyd
2000-03-13 19:31 ` Chris Faylor
2000-03-12 12:20 Earnie Boyd
2000-03-10  9:39 Derek Haskin
2000-03-10  6:34 Earnie Boyd
2000-03-09 19:12 Derek Haskin

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).