* [PATCH] Fix <sys/stat.h> in C++
@ 2005-11-15 19:51 Jakub Jelinek
2005-11-15 19:59 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2005-11-15 19:51 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
While in C __REDIRECT_NTH (....) __THROW is harmless, in C++ it is
an error (... throw () __asm ("fstatat64") throw () ... ).
2005-11-15 Jakub Jelinek <jakub@redhat.com>
* io/sys/stat.h (fstatat): Don't use __THROW together with
__REDIRECT_NTH.
--- libc/io/sys/stat.h.jj 2005-11-15 20:29:54.000000000 +0100
+++ libc/io/sys/stat.h 2005-11-15 20:46:40.000000000 +0100
@@ -238,7 +238,7 @@ extern int fstatat (int __fd, const char
# else
extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__file,
struct stat *__buf, int __flag),
- fstatat64) __THROW __nonnull ((2, 3));
+ fstatat64) __nonnull ((2, 3));
# endif
extern int fstatat64 (int __fd, const char *__file, struct stat64 *__buf,
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix <sys/stat.h> in C++
2005-11-15 19:51 [PATCH] Fix <sys/stat.h> in C++ Jakub Jelinek
@ 2005-11-15 19:59 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2005-11-15 19:59 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-15 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-15 19:51 [PATCH] Fix <sys/stat.h> in C++ Jakub Jelinek
2005-11-15 19:59 ` Ulrich Drepper
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).