Re: [PATCH] Adjust nios2 and m68k semihosting for sys/stat.h changes.

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi Sandra,

On Sep  1 17:52, Sandra Loosemore wrote:
> Commit 72ff9acad2ab54e80a19ddaec0106065c817e3f6 caused st_atime,
> st_ctime, and st_mtime to be defined as macros.  This collided with use of
> these identifiers as field names in struct gdb_stat (which represents
> the GDB RSP encoding of struct stat) in libgloss semihosting support for
> nios2 and m68k.  This patch renames all the fields of struct gdb_stat.

Commit d0651704411d fixes this by only renaming the st_Xtime fields
in struct gdb_stat to st_Xtim.  Maybe that's an option for you, too?
Otherwise we have multiple different names in an otherwise identical
struct...


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl1s1IEACgkQ9TYGna5E
T6C3BxAAnaGa1Xr6va6PpDzwSFzFayoiDX6dMg9MINH+xtwRoXMm3DXA8pQ2U44f
eGK4UbJPr01G+8pa9aZAlHp1DkUVhAorc6qsHC86pxAF37RgPVnbgegQLWsBMShj
BUe9ww/+mmfOHSqgvC0U9wGxD3ZgAheT2DQZkbDyQHDJnPytsF65jGssik3NPNPU
c8uYSVE+46qf3Od7VfgYKOT7z04RPdyhCaq/YiLayh+DRPYJetmNZieTk/xkas/F
874lOZdhmoGuKM8okKJjm6DyaGysL6vzjUq9vHKOCaXfwpDj/DDC2NNBUdKbUyH9
96CSVzB9hFu0kR11jQrOaqigMFmjsNr18iSnZ7NFmoij3AgEiTnEdDNbfd4Wdc9W
ekRs6u3mZXH+GC6aXMuA/5etxUspknoMNYVBx8U72CusPI4gN5nHowasiqWMkMuW
/gw7D7of7+Ao2W6nRm7e+n0mQkZ7xfRRaXnIvJr10RDZT8PWA5TkK0LyeqsityXS
72N/d5crzWzl0cvpC+Ewq5PaSeQX5g10ObGEfutcAu5Y3vnScLbkbIzEPjOuRiCO
fSiMpxFJCuldsVYmhWWHq3YPi7nldQ2u5XZsFEHebJoePDgGm5cwuan3omIPMvpL
6bQ0vblsjFyHjOjPwJnD5jvzxN/rVu/KIZVldD/OA2rG+l3lTrw=
=1AaH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.