commit 3ac969a7894acbfae13297c02a36e8e93603a59d
parent bee61e021322c813cba3c0d3a9f3c2572011abd8
Author: finwo <finwo@pm.me>
Date: Sat, 3 Jan 2026 19:36:29 +0100
2.34
Diffstat:
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+2.34 [KK 2008-11-09]
+- Fixed sys/str2parts.cc for 64bit systems.
+
2.33 [KK 2008-11-07]
- Solaris portability for gcc 3.4 issues in Tcpdispatcher::execute()
- Removed warnings about non-found libraries (on systems that don't
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@
# Top-level Makefile for XR
# -------------------------
-VER = 2.33
+VER = 2.34
PREFIX = $(DESTDIR)/usr
BINDIR = $(PREFIX)/sbin
MANDIR = $(PREFIX)/share/man
diff --git a/xr/backend/backend2.cc b/xr/backend/backend2.cc
@@ -1,6 +1,6 @@
#include "backend"
Backend::Backend (BackendDef const &b) :
- bdef(b), islive(true), clsocket(-1), nconn(0), totconn(0),
+ bdef(b), islive(true), isup(true), clsocket(-1), nconn(0), totconn(0),
bytes_served(0), loadaverage(0.1), dnsentry() {
}
diff --git a/xr/sys/str2parts.cc b/xr/sys/str2parts.cc
@@ -5,10 +5,10 @@ vector<string> str2parts (string const &s, char sep) {
PROFILE("str2parts");
string str = s;
- unsigned pos;
+ size_t pos;
vector<string> parts;
- bool sep_is_first;
+ bool sep_is_first = false;
while ( (pos = str.find_first_of(sep)) != string::npos) {
if (!pos) {
sep_is_first = true;