🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by John Grosen Tue, 02 Feb 1999 00:00
Inn 2.2 errno problems on Linux
#35131
Author: John Grosen
Date: Tue, 02 Feb 1999 00:00
25 lines
1595 bytes
I recently upgraded a news server here running Linux (2.0.36) to Inn
2.2.  I am having a bizarre problem with code like the following in
innd:

if (unlink(file) < 0 && errno != ENOENT) {
    syslog(blah, blah);
    exit(1);
}

In the error log I get the following:

Innd: cant unlink file: no such file or directory

Clearly, errno must not be getting set properly for the test but is
set by the time the syslog function is called. In order to get things
running I removed the test for the return value of unlink. Has anyone
else seen a similar problem?

-- 
Johannes "John" Grosen, Assoc. Dir.		NDHECN South Host Site
Information Technology Services			http://www.nodak.edu/
North Dakota State University			http://www.ndsu.nodak.edu/
Fargo, ND 58105-5164

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads