public inbox for gnats-prs@sourceware.org
help / color / mirror / Atom feed
From: soren@wheel.dk
To: gnats-gnats@sourceware.cygnus.com
Subject: gnats/200: gnatsd.h includes <crypt.h> for crypt(3) rather than <unistd.h>
Date: Thu, 31 May 2001 08:34:00 -0000	[thread overview]
Message-ID: <20010531152821.14914.qmail@sourceware.cygnus.com> (raw)

>Number:         200
>Category:       gnats
>Synopsis:       gnatsd.h includes <crypt.h> for crypt(3) rather than <unistd.h>
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 31 08:34:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Soren S. Jorvang
>Release:        anoncvs as of today
>Organization:
>Environment:
NetBSD-current as of today
>Description:
<crypt.h> is a little outdated, and modern systems specify
<unistd.h> for crypt(3). E.g. *BSD don't have <crypt.h>.
>How-To-Repeat:
Try to build GNATS 4 on NetBSD.
>Fix:
Index: gnatsd.c
===================================================================
RCS file: /cvs/gnats/gnats/gnats/gnatsd.c,v
retrieving revision 1.40
diff -u -w -r1.40 gnatsd.c
--- gnatsd.c    2001/04/15 18:11:51     1.40
+++ gnatsd.c    2001/05/31 15:26:03
@@ -24,9 +24,7 @@
 #include "gnatsd.h"
 #include "query.h"
 
-#ifdef HAVE_LIBCRYPT
-#include <crypt.h>
-#endif
+#include <unistd.h>
 
 #if defined (__svr4__) && defined (__sun__)
 #undef SIG_IGN
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-05-31  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-31  8:34 soren [this message]
2001-06-10 10:34 Milan Zamazal
2001-07-30 12:07 pdm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010531152821.14914.qmail@sourceware.cygnus.com \
    --to=soren@wheel.dk \
    --cc=gnats-gnats@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).