reopen should return NULL when oflags is less than 0, not equal to 0.
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.
Loading
Please register or sign in to comment
Fin de support de l'authentification git SSH au 1er septembre 2025.
Merci de configurer vos clients pour passer en HTTPS : Utilisation de Git et Gitlab avec HTTPS
Because negative value is returned on failure of lib_mode2offlags which converts the mode string into file open mode flag.