Windows directory separator compatibility

Migrated issue

Reported by: ax

api.module currently does not work on windows because it relies on linux path conventions (':' as dir separator, absolute paths starting with '/') only. attached patch fixes this in a transparent manner. please review, test, and apply. thanks!

Pre-migration files

Edited by drupalbot