]> git.pld-linux.org Git - packages/ettercap.git/blob - ettercap-build.patch
- status: no longer needed
[packages/ettercap.git] / ettercap-build.patch
1 --- ec/src/ec_log.c~    2004-09-30 18:01:45.000000000 +0200
2 +++ ec/src/ec_log.c     2008-11-01 14:43:25.354519564 +0100
3 @@ -190,7 +190,7 @@
4        if (fd->cfd == NULL)
5           SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
6     } else {
7 -      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
8 +      fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0644);
9        if (fd->fd == -1)
10           SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
11     }
This page took 0.179194 seconds and 3 git commands to generate.