Search found 180 matches

by colinw
Fri Feb 26, 2021 2:24 am
Forum: General AmigaOS
Topic: Bug in FE Update 2 Date Command
Replies: 8
Views: 143

Re: Bug in FE Update 2 Date Command

Thankyou for the report, I have managed to reproduce the bug here.
The bug is inside timesync.library V53.8 and earlier.

I have just released the fixed update (53.9) to the beta testers.
by colinw
Tue Feb 16, 2021 3:24 am
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 615

Re: Major memory leak in CreateNewProc()

"Always always" ! If you have a look at the proto files, you will see why. Not only do they take care of implementing the various switches available to use for the type of program method you require, by pre-declaring various definitions like; __NOLIBBASE__ __NOGLOBALIFACE__ __USE_INLINE__ ...
by colinw
Thu Feb 11, 2021 11:58 pm
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 615

Re: Major memory leak in CreateNewProc()

PS: I forgot to mention before that it is important to make sure that
the proto/ files are always included FIRST.

#include <proto/dos.h>
#include <proto/exec.h>
[ ... everything else afterwards]
by colinw
Mon Feb 08, 2021 12:46 am
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 615

Re: Major memory leak in CreateNewProc()

What a wonderfull little Rube Goldberg machine you have there. The reason the memory is leaking is available from the serial debug output. (level 3+) ; "[DOS] INFO; run() input fh buffer was changed by; My subtask [0x57E2D4F0 Vs 0x576C27F0] And then the internal runcommand function dumps the In...
by colinw
Mon Feb 01, 2021 1:40 am
Forum: General Developer Support
Topic: How to free memory allocated by AddTrackable()
Replies: 3
Views: 283

Re: How to free memory allocated by AddTrackable()

That is correct, Remtask() actually calls DeleteTrackable() after pulling the node of the list. You don't have to delete the trackable memory yourself DeleteTrackable() does it as the last thing after calling the destructor hook function. I ran into another problem in DOS, there was no information a...
by colinw
Wed Jan 01, 2020 1:05 am
Forum: Platform: AmigaOne X5000
Topic: Mounting SFS key problem
Replies: 21
Views: 4779

Re: Mounting SFS key problem

efher wrote:The line was missing in Kickstart !
Thanks a lot for you help, it works fine now.
Also, make sure you also have the diskcache.library.kmod, SFS uses that if it's available, otherwise it's slower.
The line in kickstart should be as follows;
MODULE Kickstart/diskcache.library.kmod
by colinw
Wed Dec 04, 2019 10:24 pm
Forum: General AmigaOS
Topic: Special Characters and Pattern Matching
Replies: 12
Views: 3791

Re: Special Characters and Pattern Matching

Just because the shell has "special" uses for some characters, and the pattern matcher also does too, and a couple have special meaning for DOS, ( namely colon and slash ), doesn't make them "illegal" in a name Colon and slash are illegal in filenames; this is stated in the offi...
by colinw
Tue Dec 03, 2019 2:00 am
Forum: General AmigaOS
Topic: Special Characters and Pattern Matching
Replies: 12
Views: 3791

Re: Special Characters and Pattern Matching

I would post a bug report. RAM-Handler should not accept colons in file names when creating new files. No, you are completely allowed to shoot yourself in the foot anytime, "AmigaOS" is not "NannyOS". Just because the shell has "special" uses for some characters, and t...
by colinw
Tue Jun 25, 2019 1:37 am
Forum: General Developer Support
Topic: SystemTagList() inconsistency
Replies: 3
Views: 2120

Re: SystemTagList() inconsistency

Is this a bug or a deliberate design decision to break with OS3/MorphOS behaviour considering the interpretation of a 0 filehandle for SYS_Output? SYS_Output has not changed, SYS_Input has, and just by using ZERO for SYS_Input in your example means that you do not understand the ramifications. Ther...
by colinw
Thu Apr 25, 2019 1:28 am
Forum: General Developer Support
Topic: radiobutton.gadget doesn't load/open
Replies: 9
Views: 2979

Re: radiobutton.gadget doesn't load/open

For new code by preference use OpenClass() but OpenLibrary will do too. Sure, but there is never a need to call OpenLibrary() for a class/gadget yourself. The first line of code for Intuitions OpenClass() function, IS an internal call to exec OpenLibrary() function, it just does some extra things a...