Article View: comp.sys.amiga.tech
Article #10661Re: Bug in SetComment() ... Disk-Validator didn't fix the result
From: Colin Plumb
Date: Wed, 21 Dec 1988 06:05
Date: Wed, 21 Dec 1988 06:05
12 lines
966 bytes
966 bytes
Gee, and I was just wondering about this! If someone tries to set a filename or comment that's too long, should you: - return an error - truncate it, change it, and return an error, or - truncate it, change it, and return no error? Also, how doess one interrogate to find the longest legal filename length? As part of the error passed back on failure or truncation would be fine in most cases. -- -Colin (uunet!microsof!w-colinp)
Technical Details
Message-ID:
<118@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!husc6!ogccse!blake!uw-beaver!microsoft!w-colinpReferences:
<8812210016.AA07200@eden.berkeley.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!husc6!ogccse!blake!uw-beaver!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.sys.amiga.tech Subject: Re: Bug in SetComment() ... Disk-Validator didn't fix the result Message-ID: <118@microsoft.UUCP> Date: 21 Dec 88 06:05:18 GMT References: <8812210016.AA07200@eden.berkeley.edu> Reply-To: w-colinp@microsoft.UUCP (Colin Plumb) Organization: Microsoft Corp., Redmond WA Lines: 11 Confusion: Microsoft Corp., Redmond WA