Date: Mon, 3 May 1999 13:55:11 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Daniel cc: djgpp AT delorie DOT com Subject: Re: bug in "split" In-Reply-To: <372D7D56.CE877544@mpx.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 3 May 1999, Daniel wrote: > after more testing i realised it's my own silly fault. > i was trying to enter non-integer sizes, eg: 1.1MB. Yes, the argument must be an integer. `split' uses `strtol' function to convert it to an int, and the conversion stops on the first character that isn't a digit. So `split' never sees the "M" part.