[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] MIME type guessing improved for *nix systems

From: Dan Allen <dan_at_mojavelinux.com>
Date: 2003-03-29 18:13:52 CET

Matthew Hambley (matthew@therealm.demon.co.uk) wrote:

> This patch improves subversions ability to guess the MIME type of a file as
> it is added or imported. It does this on *nix systems by interogating the
> mime.types file. Other platforms may have more appropriate mechanisms.
> (for instance on Risc OS a call to the MIME map module) Quite frankly the
> build mechanism scares the willies out of me so I have left well alone. If
> someone can tell me why my unit tests don't get run I would be greatful.
> Also I need a #define to let me know if the target platform is *nix or not.

This is excellent because I noticed at the very least images should
be recognized and are current set at application/octet-stream (a
real pain for starting up a new project)

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"I'm old enough to know better, but still too young to care."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 29 18:14:44 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.