Wrong return code of Stdio.mv and Stdio.file_size on Azure blob virtual storage
David Estopa <[email protected]> Mon, 28 Dec 2020 17:05:32 +0100
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, pike team. anyone has experienced problems with mv() and file_size() functions on Azure blob storages? We have several pike versions using the Azure blob storage and mv returns 0 (fail) instead of 1. The file is moved correctly but pike returns 0 when mv function is executed and Stdio.file_size also returns -1. Also, the errno() readed after each one, returns a code 2 (OS error code 2: No such file or director). We have reproduced the issue on pike 8.0 (releases 1077 and 702) Afterall, the file exists and is moved to the destination one. If we test the same mv operation on SO directly, also works well. Any idea how to solve this issue or some code to execute it and to debug in more deep what's happening? Kind regards *David Estopà Mesa* Jefe de Desarrollo | Development Manager [email protected] <mailto:[email protected]> (+34) 625 434 084 *Parc Científic i Tecnològic Agroalimentari de Lleida* Edifici H1 2a planta B | 25003 Lleida (Spain) Tel. 902 999 272 | (+34) 973 282 300 Fax (+34) 973 282 195 www.lleida.net <http://www.lleida.net> Política de privacidad <http://www.lleida.net/es/privacy.html>