pkgsrc/sysutils/fam/patches/patch-ai
minskim bd46a83d38 Update fam to 2.7.0. Fixes the following PR's:
- PR pkg/23017
  - PR pkg/23495
  - PR pkg/23496
  - PR pkg/24578

The patches for 23017 and 24578 were provided by reed@.  Although rh@
suspended PR 23017 saying that pkgsrc does not support installation to
/usr, this still needs to be fixed because the same problem occurs
even when LOCALBASE != /usr.

Changes since 2.6.10:
    Changed NOGROUP usage in src/Cred.c++ to -1 as NOGROUP is not defined
    in IRIX.
    (mraymond@sgi.com)
    removed const modifier from Scheduler.h to fix GCC 3.x build.
    (wardle@sgi.com)
    created new GNU autotools files:
    - test whether we have IMon rather than testing OS.
    - test whether we have sockaddr length members rather than testing OS.
    - install daemon in sbin rather than bin.
    - install manual pages in typical GNU/Linux sections.
    - rename daemon to famd.
    - rename fam source directory to src.
    - rename libfam source directory to lib.
    - remove editconf and util subdirectory.
    - remove rpm target and build subdirectory.
    - remove support target and subdirectory.
    [wardle@sgi.com] (wardle@sgi.com)
    fixed warnings about typenames in BTree.h.
    (wardle@sgi.com)
2004-03-28 22:00:04 +00:00

14 lines
450 B
Text

$NetBSD: patch-ai,v 1.3 2004/03/28 22:00:05 minskim Exp $
--- src/InternalClient.c++.orig 2003-01-18 08:18:12.000000000 -0600
+++ src/InternalClient.c++
@@ -35,8 +35,8 @@ InternalClient::InternalClient(const cha
{
assert(filename);
assert(h);
- assert(filename[0] == '/');
Log::debug("%s watching %s", name(), filename);
+ assert(filename[0] == '/');
interest = new File(filename, this, Request(0), Cred::SuperUser);
}