mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
Fix preprocessor conditional
This commit fixes a typo in common/fileio.c where S_IWGRP was misspelled as S_IWRGRP in a preprocessor conditional, causing Host-I/O "vFile:fstat:" and File-I/O "Fstat" and "Ffstat" responses to always indicate files were not group-writable regardless of their actual status.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-06-09 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
|
* common/fileio.c (fileio_mode_pack): Fix preprocessor
|
||||||
|
conditional.
|
||||||
|
|
||||||
2015-06-05 Gary Benson <gbenson@redhat.com>
|
2015-06-05 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
* gdb_bfd.c (gdb_bfd_open): Move vgdb special case to...
|
* gdb_bfd.c (gdb_bfd_open): Move vgdb special case to...
|
||||||
|
@ -132,7 +132,7 @@ fileio_mode_pack (mode_t mode)
|
|||||||
if (mode & S_IRGRP)
|
if (mode & S_IRGRP)
|
||||||
tmode |= FILEIO_S_IRGRP;
|
tmode |= FILEIO_S_IRGRP;
|
||||||
#endif
|
#endif
|
||||||
#ifdef S_IWRGRP
|
#ifdef S_IWGRP
|
||||||
if (mode & S_IWGRP)
|
if (mode & S_IWGRP)
|
||||||
tmode |= FILEIO_S_IWGRP;
|
tmode |= FILEIO_S_IWGRP;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user