]> git.pld-linux.org Git - packages/Firebird.git/blob - chown.patch
install fbclient.pc
[packages/Firebird.git] / chown.patch
1 --- Firebird-3.0.2.32703-0/src/common/os/posix/os_utils.cpp.orig        2017-03-21 10:11:35.000000000 +0100
2 +++ Firebird-3.0.2.32703-0/src/common/os/posix/os_utils.cpp     2017-04-10 11:47:34.434975291 +0200
3 @@ -123,7 +123,7 @@
4         void changeFileRights(const char* pathname, const mode_t mode)
5         {
6                 uid_t uid = geteuid() == 0 ? get_user_id(FIREBIRD) : -1;
7 -               gid_t gid = get_user_group_id(FIREBIRD);
8 +               gid_t gid = geteuid() == 0 ? get_user_group_id(FIREBIRD) : -1;
9                 while (chown(pathname, uid, gid) < 0 && SYSCALL_INTERRUPTED(errno))
10                         ;
11  
This page took 0.022196 seconds and 3 git commands to generate.