[vorbis-dev] OggSplit 0.1.0

Philip Jägenstedt philipj at telia.com
Wed Aug 6 10:35:39 PDT 2003



On Wed, 6 Aug 2003 18:17:44 +0100
Ralph Giles <giles at xiph.org> wrote:

> On Wednesday, August 6, 2003, at 05:32 PM, Philip Jägenstedt wrote:
> 
> > too bad :( I'm just using the system.h that autoproject gave me, so
> > those files are not included by me... perhaps system.h is simply 
> > unaware
> > of the existence of OS X. I'd like to avoid including more parts of
> > glibc into the sources as I've already got the getopt things there.
> 
> Ah. Do you really need the portability layer? For a tool the size of 
> oggsplit, it's often easier to just code to the lowest common 
> denominator and only add necessary bits (like getopt) when it's really 
> worth it.

Well, actually I first wrote the thing without the system.h helper, but
since autoproject gave me one, I figured it might not be a bad idea to
use it for some portability. Perhaps "don't fix it if it's not broken"
would apply here :)

In any case, where does OS X specify the error codes, if not error.h?
For debian, I include <errno.h> and that's all (although now system.h
does that for me). Since its OS X's libc library that will be returning
errors from fopen(), it also has to have some way of interpreting the
errors, right? (using strerror I hope).

// Philip
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list