List Archive

Thread

Thread Index

Message

From: Thomas Klausner <tk%giga.or.at@localhost>
To: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
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.
 Thomas

Made by MHonArc.