mscdex/mmmagic — pull request #3 by thehunmonkgroup (2012-07-26 20:44:55+00:00)
Title: better OS/backwards compatibility for path.sep

On OS X 10.6 and 10.7, running node 0.6.19, if I do this:
```javascript
var path = require('path');
console.log(path);
console.log("Sep: %s", path.sep);
console.log("Sep2: %s", path.SPLIT_CHAR);
```
I get this:
```
{ resolve: [Function],
normalize: [Function],
join: [Function],
relative: [Function],
dirname: [Function],
basename: [Function],
extname: [Function],
exists: [Function],
existsSync: [Function],
_makeLong: [Function],
SPLIT_CHAR: '/' }
Sep: undefined
Sep2: /
```
So it appears that at least in some instances, path.sep is not available. This patch adjusts the Magic.setFallback() setup in index.js to be more resilient for this case.