zlib icon indicating copy to clipboard operation
zlib copied to clipboard

pass 2D array to gzopen

Open yuw444 opened this issue 3 years ago • 0 comments

Hi,

I have stored my file names in char **fileNames, which includes a list of the complete path to the file. those names' lengths could vary. See example below

/d1/d2/d3/a1.txt
/d1/d2/d3/aa2.txt
/d1/d2/d3/aaa3.txt

If I use gzopen("/d1/d2/d3/a1.txt", "r"), everything works fine. But gzopen(fileNames[0], "r") failed on me.

Any suggestion or insight would be appreciated.

yuw444 avatar May 04 '22 05:05 yuw444