zeromq / czmq

High-level C binding for ØMQ
czmq.zeromq.org
Mozilla Public License 2.0
1.18k stars 525 forks source link

don't create the containing dir if there are no delimiters #2211

Closed sphaero closed 2 years ago

sphaero commented 2 years ago

Problem: when no path is given to a zfile zfile_output will create a dir with the filename instead of a file Solution: don't create a dir if there are no directory delimiters the fullname

sphaero commented 2 years ago

related to #2208