mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
hurd: Fix shmid_ds's shm_segsz field type
* bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of int. * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
This commit is contained in:
parent
a650b05ebe
commit
d2d9dfb663
@ -1,3 +1,9 @@
|
||||
2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
|
||||
int.
|
||||
* sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
|
||||
|
||||
2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
|
||||
|
||||
* benchtests/scripts/compare_string.py: (process_results) Catch
|
||||
|
@ -44,7 +44,7 @@ typedef unsigned short int shmatt_t;
|
||||
struct shmid_ds
|
||||
{
|
||||
struct ipc_perm shm_perm; /* operation permission struct */
|
||||
int shm_segsz; /* size of segment in bytes */
|
||||
size_t shm_segsz; /* size of segment in bytes */
|
||||
__time_t shm_atime; /* time of last shmat() */
|
||||
__time_t shm_dtime; /* time of last shmdt() */
|
||||
__time_t shm_ctime; /* time of last change by shmctl() */
|
||||
|
@ -49,7 +49,7 @@ typedef unsigned short int shmatt_t;
|
||||
struct shmid_ds
|
||||
{
|
||||
struct ipc_perm shm_perm; /* operation permission struct */
|
||||
int shm_segsz; /* size of segment in bytes */
|
||||
size_t shm_segsz; /* size of segment in bytes */
|
||||
__time_t shm_atime; /* time of last shmat() */
|
||||
__time_t shm_dtime; /* time of last shmdt() */
|
||||
__time_t shm_ctime; /* time of last change by shmctl() */
|
||||
|
Loading…
Reference in New Issue
Block a user