Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+31
View File
@@ -0,0 +1,31 @@
$NetBSD: patch-server.h,v 1.1 2014/08/13 22:35:29 joerg Exp $
--- server.h.orig 2014-08-13 13:24:50.000000000 +0000
+++ server.h
@@ -152,22 +152,22 @@ class LATServer
return (!(type == INACTIVE || type == DISABLED_PTY));
}
- bool operator==(int _fd)
+ bool operator==(int _fd) const
{
return (type != INACTIVE && fd == _fd);
}
- bool operator==(const fdinfo &fdi)
+ bool operator==(const fdinfo &fdi) const
{
return (fd == fdi.fd);
}
- bool operator!=(const fdinfo &fdi)
+ bool operator!=(const fdinfo &fdi) const
{
return (fd != fdi.fd);
}
- bool operator!=(int _fd)
+ bool operator!=(int _fd) const
{
return (type == INACTIVE || fd != _fd);
}