Le Sunday 18 May 2008 00:47:01 Samuel Mimram, vous avez écrit : > Wouldn't an exception be better than returning 0 (raised after closing > the file of course) ?
I believe, but for some reasons, the spec was not made that way: > (** Compute the duration of a file, in seconds. > * Never raises any exception, but returns 0. in case of error. > * The returned duration is exact but its computation is not efficient, > * as it proceeds by completely decoding the file. *) Does anyone know why this is like this ? Romain -- He say 'im that he's the first one Who discover Jamaica, I an' I say that: What about the Awarak indians ? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Savonet-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-devl
