Commit a7e878621dc2fb8430fccb461b7b669b6bf86190

Bruno Haible 2020-05-24T13:57:59

fopen: Fix the trailing slash workaround. * lib/fopen.c (rpl_fopen): Parse the mode string. Recognize "r+" as a write access. Pass the right flags to open(). * tests/test-fopen.h (test_fopen): Add a few more tests on directories.