Issue 270: [Patch] Using a custom kernel cache path doesn't work

Reported by Andrey B, Jul 20, 2012

Using the "Kernel Cache" boot flag doesn't work if the 
specified path does not begin with "/", for 2 reasons:

1. GetFileInfo() in libsaio doesn't behave correctly when given a 
path that doesn't begin with "/".
2. A trailing "/" is added to the kernel cache path in 
LoadKernelCache(), presumably because of the bug above.

A tested patch is attached.

Comment 1 by ErmaC , Jul 20, 2012

THX Andrey B.

I will merge this in my Branch soon.


Comment 2 by Cosmosis Jones, Jul 23, 2012

on head
Status: Fixed

Created: 8 years 4 months ago by Andrey B

Updated: 8 years 4 months ago

Status: Fixed

Followed by: 2 persons