NetBSD Problem Report #17

From gnats  Mon Oct 11 11:32:09 1993
Received: from localhost (jtc@localhost) by sun-lamp.cs.berkeley.edu (8.3/8.3) id LAA10742; Mon, 11 Oct 1993 11:32:09 -0700
Message-Id: <199310111832.LAA10742@sun-lamp.cs.berkeley.edu>
Date: Mon, 11 Oct 1993 11:32:09 -0700
From: "J.T. Conklin" <jtc>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: <string.h> declares non-standard functions with _POSIX_SOURCE.

>Number:         17
>Category:       lib
>Synopsis:       <string.h> declares non-standard functions with _POSIX_SOURCE.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 11 11:35:02 +0000 1993
>Closed-Date:    Mon Oct 11 12:14:24 +0000 1993
>Last-Modified:  
>Originator:     
>Release:        NetBSD-0.9
>Organization:
Winning Strategies, Inc.
>Environment:

System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP#6 i386


>Description:
	<string.h> defines non-standard functions when _POSIX_SOURCE is 
	defined. 

	This can be fixed by changing the conditional around those 
	function declarations from:
		#ifndef _ANSI_SOURCE
	To:
		#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)

>How-To-Repeat:

>Fix:
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Mon Oct 11 12:14:24 1993
State-Changed-Why:
Changed conditional to include !defined(_POSIX_SOURCE).

>Unformatted:
 To: gnats-bugs@sun-lamp.cs.berkeley.edu
 Subject: <string.h> declares non-standard functions with _POSIX_SOURCE.
 From: jtc@sun-lamp.cs.berkeley.edu
 Reply-To: jtc@sun-lamp.cs.berkeley.edu
 X-send-pr-version: 3.01

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.