public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd 64bit: Make dev_t word type
@ 2023-05-02 19:36 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2023-05-02 19:36 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0ec48e3337506fcd33abdd86b5ab9e331564b65c

commit 0ec48e3337506fcd33abdd86b5ab9e331564b65c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue May 2 21:29:26 2023 +0200

    hurd 64bit: Make dev_t word type
    
    dev_t are 64bit on Linux ports, so better increase their size on 64bit
    Hurd. It happens that this helps with BZ 23084 there: st_dev has type fsid_t
    (quad) and is specified by POSIX to have type dev_t. Making dev_t 64bit
    makes these match.

Diff:
---
 sysdeps/mach/hurd/bits/typesizes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/bits/typesizes.h b/sysdeps/mach/hurd/bits/typesizes.h
index 7b95bb0b91..646ee934bb 100644
--- a/sysdeps/mach/hurd/bits/typesizes.h
+++ b/sysdeps/mach/hurd/bits/typesizes.h
@@ -26,7 +26,7 @@
 /* See <bits/types.h> for the meaning of these macros.  This file exists so
    that <bits/types.h> need not vary across different GNU platforms.  */
 
-#define __DEV_T_TYPE		__U32_TYPE
+#define __DEV_T_TYPE		__UWORD_TYPE
 #define __UID_T_TYPE		__U32_TYPE
 #define __GID_T_TYPE		__U32_TYPE
 #define __INO_T_TYPE		__ULONGWORD_TYPE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-02 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02 19:36 [glibc] hurd 64bit: Make dev_t word type Samuel Thibault

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).