From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117890 invoked by alias); 13 Nov 2015 15:59:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 117873 invoked by uid 89); 13 Nov 2015 15:59:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: zimbra.cs.ucla.edu Subject: Re: RFC: remove from To: GNU C Library References: <20151113144528.GA456@altlinux.org> From: Paul Eggert Message-ID: <564608EC.7070504@cs.ucla.edu> Date: Fri, 13 Nov 2015 15:59:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20151113144528.GA456@altlinux.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-11/txt/msg00256.txt.bz2 On 11/13/2015 06:45 AM, Dmitry V. Levin wrote: > >Since sys/types.h > >does not provide these macros on SysV-derived systems, I would expect > >that portable software that needs them is prepared to include > >sys/sysmacros.h itself. > Portable software already uses autoconf AC_HEADER_MAJOR macro or analogs. Yes, since coreutils uses AC_HEADER_MAJOR already, programs like 'ls' and 'stat' would be unaffected by the proposed change: ./configure would discover that sys/types.h no longer define 'major', 'minor' and 'makedev', and coreutils/src/system.h would therefore include . It's clear these three macros don't belong in , but it's also clear there will be a conversion hassle for programs that are not as portable as coreutils etc. Can we deprecate these symbols without removing them, and then remove them a few years from now? That might be the wiser course.