diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-13 22:36:45 +0800 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-13 22:36:45 +0800 |
commit | b75e038615d51cb62c200e336e59202519db8cae (patch) | |
tree | 8c2c6e4999e897afaa2573fca321445bc85e4c45 /open_issues/glibc.mdwn | |
parent | 066e7157468c3dc616ecbd34f2a2be9fde01cb7b (diff) | |
download | web-b75e038615d51cb62c200e336e59202519db8cae.tar.gz web-b75e038615d51cb62c200e336e59202519db8cae.tar.bz2 web-b75e038615d51cb62c200e336e59202519db8cae.zip |
IRC.
Diffstat (limited to 'open_issues/glibc.mdwn')
-rw-r--r-- | open_issues/glibc.mdwn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 6c52cc7f..1ce47560 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -189,6 +189,35 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 `open_by_handle_at`, `process_vm_readv`, `process_vm_writev`, `sendmmsg`, `setns`, `sync_file_range` + * `chflags` + + IRC, OFTC, #debian-hurd, 2012-04-27: + + <Steap> Does anyone have any idea why int main(void) { return + chflags(); } will compile with gcc but not with g++ ? It says + that "chflags" was not declared in this scope. + <Steap> I get the same error on FreeBSD, but including sys/stat.h + makes it work + <Steap> Can't find a solution on Hurd though :/ + <youpi> the Hurd doesn't have chflags + <youpi> apparently linux neither + <youpi> what does it do? + <Steap> change flags :) + <Steap> Are you sure the Hurd does not have chflags ? Because gcc + does not complain + <youpi> there is no chflags function in /usr/include + <youpi> but what flags does it change? + <Steap> According to the FreeBSD manpage, it can set flags such as + UF_NODUMP, UF_IMMUTABLE etc. + <youpi> Hum, there is actually a chflags() definition + <youpi> but no declaration + <youpi> so actually chflags is supported, but the declaration was + forgotten + <youpi> probably because since linux doens't have it, it has never + been a problem up to now + <youpi> so I'd say ignore the error for now, we'll add the + declaration + * `getcontext`/`setcontext` Needed for [[gccgo]]. |