[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#1619: marked as done (Compilation error in 1.1.2pre for target hppa1.1-hp-hpux10.20)
From:       owner () max ! tat ! physik ! uni-tuebingen ! de (Stephan Kulow)
Date:       1999-07-28 16:48:00
[Download RAW message or body]

Your message dated Wed, 28 Jul 1999 18:39:21 +0200
with message-id <379F3239.D266C14F@tu-harburg.de>
and subject line Bug#1619: Compilation error in 1.1.2pre for target     \
hppa1.1-hp-hpux10.20 has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 28 Jul 1999 06:47:19 +0000
From Stefan.Becker@nmp.nokia.com Wed Jul 28 08:47:19 1999
Received: from mgw-x1.nokia.com ([131.228.20.21]:35019 "EHLO mgw-x1.nokia.com" ident: \
"NO-IDENT-SERVICE[2]") by max.tat.physik.uni-tuebingen.de with ESMTP id <747966-211>; \
                Wed, 28 Jul 1999 08:46:58 +0200
Received: from mgw-i1.ntc.nokia.com (mgw-i1.ntc.nokia.com [131.228.118.60])
	by mgw-x1.nokia.com (8.9.3/8.9.3) with ESMTP id JAA28589
	for <submit@bugs.kde.org>; Wed, 28 Jul 1999 09:46:47 +0300 (EETDST)
From:	Stefan.Becker@nmp.nokia.com
Received: from samail01.nmp.nokia.com (root@samail01.nmp.nokia.com [131.228.240.6])
	by mgw-i1.ntc.nokia.com (8.9.3/8.9.3) with ESMTP id JAA15113
	for <submit@bugs.kde.org>; Wed, 28 Jul 1999 09:46:46 +0300 (EETDST)
Received: from localhost (root@localhost)
	by samail01.nmp.nokia.com (8.8.6 (PHNE_14041)/8.8.6) with SMTP id JAA02384
	for submit@bugs.kde.org; Wed, 28 Jul 1999 09:58:36 +0300 (EETDST)
X-OpenMail-Hops: 2
Date:	Wed, 28 Jul 1999 08:46:38 +0200
Message-Id: <H00001ba019f7293@MHS>
Subject: Compilation error in 1.1.2pre for target hppa1.1-hp-hpux10.20
TO:	submit@bugs.kde.org
Encoding: 37 text
Return-Path: <Stefan.Becker@nmp.nokia.com>
X-Orcpt: rfc822;submit@bugs.kde.org
X-UIDL: 933144439.729285.8485

Package: ktalkd
Version: 1.1.2pre

HP-UX doesn't have flock(), thus there will be a compilation error for
mail.local.

The following patch replaces flock() with lockf(), which should have the
same semantics (as far as I have understood the man page). A configure
check for flock must be added.

--------------------------- CUT HERE ---------------------------------
--- kdenetwork/ktalkd/mail.local/mail.local.c~  Tue Mar 30 02:25:10 1999
+++ kdenetwork/ktalkd/mail.local/mail.local.c   Tue Jul 27 13:10:23 1999
@@ -451,7 +451,13 @@
        }
 
        /* Wait until we can get a lock on the file. */
-       if (flock(mbfd, LOCK_EX)) {
+        if (
+#ifdef HAVE_FLOCK
+            flock(mbfd, LOCK_EX)
+#else
+            lockf(mbfd, F_LOCK, 0)
+#endif
+            ) {
                e_to_sys(errno);
                warn("%s: %s", path, strerror(errno));
                goto err1;
--------------------------- CUT HERE ---------------------------------

Regards,

	Stefan

---
Stefan Becker
E-Mail: Stefan.Becker@nmp.nokia.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic