Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-04-05 Thread Jerome Shidel via Freedos-devel
Hi Tom, > On Mar 21, 2025, at 9:36 AM, tom ehlert via Freedos-devel > wrote: > > Hallo Herr Jerome Shidel via Freedos-devel, > > am Freitag, 21. März 2025 um 14:14 schrieben Sie: > > >> Hi Eric, > >>> On Mar 21, 2025, at 6:03 AM, Eric Auer via Freedos-devel >>> wrote: >>> >>>  >>> Hi! J

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-04-05 Thread tom ehlert via Freedos-devel
Hi Bernd, am Freitag, 21. März 2025 um 15:05 schrieben Sie: > The index.md [1] of the repo indicates that the XCOPY 1.7 binary is built > with Open Watcom. > There reportedly was an issue [2] regarding stack usage with the Open Watcom > built binaries. > Skimming over the source, especially [

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-04-05 Thread perditionc--- via Freedos-devel
Minor update 1.8a (last one for a while) https://github.com/FDOS/xcopy https://github.com/FDOS/xcopy/releases/download/v1.8a/xcopy18a.zip Further reduce stack usage on recursive xcopy. Using Tom's example C:\1\2\3\...\d\e\f\... a quick test worked for as deep as FreeCom allowed to create a nested

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-04-05 Thread Jerome Shidel via Freedos-devel
Hi Eric, > On Mar 21, 2025, at 6:03 AM, Eric Auer via Freedos-devel > wrote: > >  > Hi! Just guessing, but... > > Maybe xcopy recursively copies directories? Have you tried to trigger > the bug using a small set of files in a deep directory tree? > > Eric Although there are a lot of files

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Bret Johnson via Freedos-devel
> There reportedly was an issue [2] regarding stack usage with the Open Watcom > built binaries. > Skimming over the source, especially [3], indicates that this may use A LOT of > stack space depending on what value MAXPATH is defined to be (it is 260 for my > Open Watcom installation). That is ap

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Jerome Shidel via Freedos-devel
> On Mar 21, 2025, at 10:40 AM, tom ehlert via Freedos-devel > wrote: > > Hi Bernd, > > am Freitag, 21. März 2025 um 15:05 schrieben Sie: > >> The index.md [1] of the repo indicates that the XCOPY 1.7 binary is built >> with Open Watcom. > >> There reportedly was an issue [2] regarding sta

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Eric Auer via Freedos-devel
Hi! Just guessing, but... Maybe xcopy recursively copies directories? Have you tried to trigger the bug using a small set of files in a deep directory tree? Eric ___ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sou

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread perditionc--- via Freedos-devel
On Fri, Mar 21, 2025 at 2:30 PM Bernd Böckmann via Freedos-devel wrote: > > While testing v1.7, I noticed that XCOPY creates a directory hierarchy at the > target when called with parameter -L. > > Is this intended behavior? According to the usage info, -L means: „List files > without copying th

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Bernd Böckmann via Freedos-devel
While testing v1.7, I noticed that XCOPY creates a directory hierarchy at the target when called with parameter -L. Is this intended behavior? According to the usage info, -L means: „List files without copying them. (simulates copying).“ So I would expect the file system not being altered at al

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread tom ehlert via Freedos-devel
Hallo Herr Jerome Shidel via Freedos-devel, am Freitag, 21. März 2025 um 14:14 schrieben Sie: > Hi Eric, >> On Mar 21, 2025, at 6:03 AM, Eric Auer via Freedos-devel >> wrote: >> >>  >> Hi! Just guessing, but... >> >> Maybe xcopy recursively copies directories? Have you tried to trigger >>

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread tom ehlert via Freedos-devel
Hallo Herr Jerome Shidel via Freedos-devel, am Freitag, 21. März 2025 um 17:12 schrieben Sie: > I was just sent a test build of xcopy with an increased stack size. > The Stack Overflow did not occur on the existing filesystem during the copy. > After adding some deeper sub-directory nesting, t

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread perditionc--- via Freedos-devel
XCOPY Version 1.8 published https://github.com/FDOS/xcopy/releases/download/v1.8/xcopy18.zip It implements two changes to reduce stack overflows - it does not eliminate it as that would require further review of other stack variables used. The overall stack size increased slightly and the reducti

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Jerome Shidel via Freedos-devel
I was just sent a test build of xcopy with an increased stack size. The Stack Overflow did not occur on the existing filesystem during the copy. After adding some deeper sub-directory nesting, the Overflow returned at that point in the copy. So, the increased stack size improved the problem.

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Fritz Mueller via Freedos-devel
just fixed this so that it is correct. Update enclosed. Could you please check if this helps?   Willi     Sent: Friday, March 21, 2025 at 4:11 PM From: "Jerome Shidel via Freedos-devel" To: "FreeDOS Developers" Cc: jer...@shidel.net Subject: Re: [Freedos-devel] XCOP

Re: [Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-21 Thread Bernd Böckmann via Freedos-devel
The index.md [1] of the repo indicates that the XCOPY 1.7 binary is built with Open Watcom. There reportedly was an issue [2] regarding stack usage with the Open Watcom built binaries. Skimming over the source, especially [3], indicates that this may use A LOT of stack space depending on what

[Freedos-devel] XCOPY 1.7 Stack Overflow

2025-03-20 Thread Jerome Shidel via Freedos-devel
Hi All, While preparing to upgrade my Netbook from from 1.3 to 1.4rc3+ (slightly newer OS build than RC3, possibly to be 1.4GM released on 4/1), I ran into a couple issues. The intent for this machine was keep all of its customizations. Me being well aware of all of the differences between 1.3