/ Check-in [bfbfe05b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in the type of the fchown() function in os_unix.c.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bfbfe05b81919ecc3d6e7be4c24994f795f16582
User & Date: dan 2012-02-13 08:50:23
Context
2012-02-13
10:00
Changes to various test scripts so that veryquick.test runs with OMIT_COMPOUND_SELECT defined. check-in: 76bb649e user: dan tags: trunk
08:50
Fix a typo in the type of the fchown() function in os_unix.c. check-in: bfbfe05b user: dan tags: trunk
2012-02-11
23:55
Make fchown() an overrideable system call in os_unix.c. check-in: 98efac96 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

   416    416     { "mkdir",        (sqlite3_syscall_ptr)mkdir,           0 },
   417    417   #define osMkdir     ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
   418    418   
   419    419     { "rmdir",        (sqlite3_syscall_ptr)rmdir,           0 },
   420    420   #define osRmdir     ((int(*)(const char*))aSyscall[19].pCurrent)
   421    421   
   422    422     { "fchown",       (sqlite3_syscall_ptr)fchown,          0 },
   423         -#define osFchown    ((int(*)(const char*,uid_t,gid_t))aSyscall[20].pCurrent)
          423  +#define osFchown    ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
   424    424   
   425    425   }; /* End of the overrideable system calls */
   426    426   
   427    427   /*
   428    428   ** This is the xSetSystemCall() method of sqlite3_vfs for all of the
   429    429   ** "unix" VFSes.  Return SQLITE_OK opon successfully updating the
   430    430   ** system call pointer, or SQLITE_NOTFOUND if there is no configurable