CommentSize NameSize both uint32

This forum is for general developer support questions.
Post Reply
JosDuchIt
Posts: 291
Joined: Sun Jun 26, 2011 5:47 pm
Contact:

CommentSize NameSize both uint32

Post by JosDuchIt »

In fileinfoblock fib_FileName was limitedw to 108 characters and fib_Comment to 80
in ExamineData NameSize and CommentSize are of type uint32, permitting large enough, impractical sizes.
Is there a standard size programmers are expected to respect ?
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 1479
Joined: Wed Mar 09, 2011 1:36 pm
Location: Sydney, Australia

Re: CommentSize NameSize both uint32

Post by tonyw »

It depends on the filesystem. Most existing filesystems are limited to 108 chars for the filename and 80 chars for the comments.

Trevor put out a PDF some time ago, listing characteristics of existing filesystems, but it didn't include max comment lengths.
cheers
tony
Post Reply