List Archive


Thread Index


From: Thomas Klausner <>
To: Andreas Falkenhahn <>
Subject: Re: Will zip_get_name() use backslashes in paths?
Date: Tue, 3 Oct 2017 13:47:38 +0200

On Tue, Oct 03, 2017 at 01:40:21PM +0200, Andreas Falkenhahn wrote:
> For all my test archives, zip_get_name() always uses a normal slash as
> a path component separator. I'm wondering if I can rely on this behaviour
> or could it also be that zip_get_name() uses the backslash as a path
> component separator? Could it be that zip archives created on Windows
> use the backslash separator or can I rely on always getting just a
> simple slash as a separator?

The file format specifies that "/" is the directory separator.

Made by MHonArc.