public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Fix xattr function return type Date: Sun, 19 Feb 2023 23:34:40 +0000 (GMT) [thread overview] Message-ID: <20230219233440.DBCB93858D38@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=80c2c1432d5167d408e0f6e5afdc108c8cffcc1f commit 80c2c1432d5167d408e0f6e5afdc108c8cffcc1f Author: Sergey Bugaev <bugaevc@gmail.com> Date: Sat Feb 18 23:37:11 2023 +0300 hurd: Fix xattr function return type They all return int, not size_t. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230218203717.373211-4-bugaevc@gmail.com> Diff: --- sysdeps/mach/hurd/fsetxattr.c | 2 +- sysdeps/mach/hurd/lremovexattr.c | 2 +- sysdeps/mach/hurd/lsetxattr.c | 2 +- sysdeps/mach/hurd/removexattr.c | 2 +- sysdeps/mach/hurd/setxattr.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sysdeps/mach/hurd/fsetxattr.c b/sysdeps/mach/hurd/fsetxattr.c index 71ee7599b8..dcc48fa0d8 100644 --- a/sysdeps/mach/hurd/fsetxattr.c +++ b/sysdeps/mach/hurd/fsetxattr.c @@ -22,7 +22,7 @@ #include <hurd/xattr.h> #include <hurd/fd.h> -ssize_t +int fsetxattr (int fd, const char *name, const void *value, size_t size, int flags) { error_t err; diff --git a/sysdeps/mach/hurd/lremovexattr.c b/sysdeps/mach/hurd/lremovexattr.c index 1d761e2d3e..cb6a1f8f54 100644 --- a/sysdeps/mach/hurd/lremovexattr.c +++ b/sysdeps/mach/hurd/lremovexattr.c @@ -22,7 +22,7 @@ #include <hurd/xattr.h> #include <fcntl.h> -ssize_t +int lremovexattr (const char *path, const char *name) { error_t err; diff --git a/sysdeps/mach/hurd/lsetxattr.c b/sysdeps/mach/hurd/lsetxattr.c index 56c138dc9f..4e1e2de297 100644 --- a/sysdeps/mach/hurd/lsetxattr.c +++ b/sysdeps/mach/hurd/lsetxattr.c @@ -22,7 +22,7 @@ #include <hurd/xattr.h> #include <fcntl.h> -ssize_t +int lsetxattr (const char *path, const char *name, const void *value, size_t size, int flags) { diff --git a/sysdeps/mach/hurd/removexattr.c b/sysdeps/mach/hurd/removexattr.c index 128d0e01e8..fedc537077 100644 --- a/sysdeps/mach/hurd/removexattr.c +++ b/sysdeps/mach/hurd/removexattr.c @@ -21,7 +21,7 @@ #include <hurd.h> #include <hurd/xattr.h> -ssize_t +int removexattr (const char *path, const char *name) { error_t err; diff --git a/sysdeps/mach/hurd/setxattr.c b/sysdeps/mach/hurd/setxattr.c index be3b172b69..ba6047cd28 100644 --- a/sysdeps/mach/hurd/setxattr.c +++ b/sysdeps/mach/hurd/setxattr.c @@ -21,7 +21,7 @@ #include <hurd.h> #include <hurd/xattr.h> -ssize_t +int setxattr (const char *path, const char *name, const void *value, size_t size, int flags) {
reply other threads:[~2023-02-19 23:34 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230219233440.DBCB93858D38@sourceware.org \ --to=sthibaul@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).