Bug 50523

Summary: Deprecate <machine/limits.h>, add <sys/limits.h>
Product: Base System Reporter: Craig Rodrigues <rodrigc>
Component: standardsAssignee: freebsd-standards (Nobody) <standards>
Status: Closed FIXED    
Severity: Affects Only Me CC: mike
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Craig Rodrigues 2003-04-01 14:50:05 UTC
As part of my effort to add WCHAR_MIN and WCHAR_MAX macros to
<wchar.h>, an interesting discussion ensued on -standards.
Mike Barcroft suggested that:
 - <machine/limits.h> should be deprecated with a warning
 - <sys/limits.h> should be created
 - a private header file <machine/_limits.h> should be created

Once this patch is accepted, I will submit a followup patch
which adds WCHAR_MIN and WCHAR_MAX macros to <wchar.h>, by including
<machine/_limits.h>, and defining those macros using the underscore
prefixed macros, ie. #define WCHAR_MIN __WCHAR_MIN
Comment 1 kabaev 2003-04-16 02:06:44 UTC
Craig,

the patch looks OK, but I think this should be handled through repo-copy
so that the history on deprecated files will get lost.

-- 
Alexander Kabaev
Comment 2 Craig Rodrigues 2003-04-16 15:07:45 UTC
> Craig,
>
> the patch looks OK, but I think this should be handled through repo-copy
> so that the history on deprecated files will get lost.
>
> -- 
> Alexander Kabaev

Hi,

I am not a committer, so do not know how to proceed from here.
Is there anyone who is interested in shepherding this patch in?
--
Craig Rodrigues
rodrigc@attbi.com
Comment 3 kabaev 2003-04-17 00:11:43 UTC
I already submitted a repo-copy  request. I will handle the rest when
files are ready.

On Wed, 16 Apr 2003 10:07:45 -0400 (EDT)
rodrigc@attbi.com wrote:

> > Craig,
> >
> > the patch looks OK, but I think this should be handled through
> > repo-copy so that the history on deprecated files will get lost.
> >
> > -- 
> > Alexander Kabaev
> 
> Hi,
> 
> I am not a committer, so do not know how to proceed from here.
> Is there anyone who is interested in shepherding this patch in?
> --
> Craig Rodrigues
> rodrigc@attbi.com
Comment 4 Craig Rodrigues 2003-05-28 23:18:31 UTC
Hi,

I think that this PR can be closed.
kan@ committed the following to -CURRENT:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1377248+0+archive/2003/cvs-all/20030427.cvs-all

-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com
Comment 5 Maxim Konovalov freebsd_committer freebsd_triage 2003-05-29 08:04:26 UTC
State Changed
From-To: open->closed

Fixed, thanks.