diff options
author | drh <> | 2022-05-11 17:45:50 +0000 |
---|---|---|
committer | drh <> | 2022-05-11 17:45:50 +0000 |
commit | b302c065d82f1636ad8e88339eb9629b485f01f7 (patch) | |
tree | fe8759334f03a3f9b5fa376b2956c27ac4ac1990 /src/os_unix.c | |
parent | e8346d0a889c89ec8a78e65abc33257a6c6fb81a (diff) | |
download | sqlite-b302c065d82f1636ad8e88339eb9629b485f01f7.tar.gz sqlite-b302c065d82f1636ad8e88339eb9629b485f01f7.zip |
Use osReadlink() in os_unix.c, not readlink() directly.
FossilOrigin-Name: c3da4c1611cebd9f9d695892a3ffddc47d5f0db1a1ea8bd2b4f83ef7673b68de
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index b9beb53aa..da50f2de1 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -6483,7 +6483,7 @@ static void appendOnePathElement( pPath->rc = SQLITE_CANTOPEN_BKPT; return; } - got = readlink(zIn, zLnk, sizeof(zLnk)-2); + got = osReadlink(zIn, zLnk, sizeof(zLnk)-2); if( got<=0 || got>=sizeof(zLnk)-2 ){ pPath->rc = unixLogError(SQLITE_CANTOPEN_BKPT, "readlink", zIn); return; |