[OpenSIPS-Devel] [OpenSIPS/opensips] 0b18a1: exec: Fix kill.c compile warnings by including <un...

Liviu Chircu liviu at opensips.org
Wed Mar 5 16:02:11 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0b18a178c20a4804bc1d7d10f495add5459afbe9
      https://github.com/OpenSIPS/opensips/commit/0b18a178c20a4804bc1d7d10f495add5459afbe9
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M modules/exec/kill.c

  Log Message:
  -----------
  exec: Fix kill.c compile warnings by including <unistd.h>.

    Compiling kill.c
    kill.c: In function ‘__popen’:
    kill.c:129:2: warning: implicit declaration of function ‘pipe’ [-Wimplicit-function-declaration]
      if (pipe(fds) != 0) {
      ^
    ...


  Commit: f2e64f5de9131736befd3d4322c4ef0e11a5f70f
      https://github.com/OpenSIPS/opensips/commit/f2e64f5de9131736befd3d4322c4ef0e11a5f70f
  Author: Walter Doekes <walter+github at wjd.nu>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M pass_fd.c

  Log Message:
  -----------
  core: Fix pass_fd.c aliasing warnings by forcing proper packing.

    Compiling pass_fd.c
    pass_fd.c: In function ‘send_fd’:
    pass_fd.c:132:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      *(int*)CMSG_DATA(cmsg)=fd;
      ^
    pass_fd.c: In function ‘receive_fd’:
    pass_fd.c:240:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       *fd=*((int*) CMSG_DATA(cmsg));
       ^


  Commit: a1d61f3adccbabd6cab745056c04c1c0c2397943
      https://github.com/OpenSIPS/opensips/commit/a1d61f3adccbabd6cab745056c04c1c0c2397943
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M modules/exec/kill.c
    M pass_fd.c

  Log Message:
  -----------
  Merge branch 'wjd-compile_warnings' of https://github.com/wdoekes/opensips into wdoekes-wjd-compile_warnings


Compare: https://github.com/OpenSIPS/opensips/compare/f544472e887d...a1d61f3adccb


More information about the Devel mailing list