Add missing libc_hidden_def for __utimensat64

Message ID mvmh7z6db8v.fsf@suse.de
State New
Headers show
Series
  • Add missing libc_hidden_def for __utimensat64
Related show

Commit Message

Andreas Schwab March 2, 2020, 3:31 p.m.
---
 sysdeps/unix/sysv/linux/utimensat.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.25.1


-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Comments

Lukasz Majewski March 2, 2020, 3:49 p.m. | #1
Hi Andreas,

> ---

>  sysdeps/unix/sysv/linux/utimensat.c | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/sysdeps/unix/sysv/linux/utimensat.c

> b/sysdeps/unix/sysv/linux/utimensat.c index e4cf089b1d..eb16f0f3d5

> 100644 --- a/sysdeps/unix/sysv/linux/utimensat.c

> +++ b/sysdeps/unix/sysv/linux/utimensat.c

> @@ -76,6 +76,8 @@ __utimensat64 (int fd, const char *file, const

> struct __timespec64 tsp64[2], }

>  

>  #if __TIMESIZE != 64

> +libc_hidden_def (__utimensat64)

> +

>  int

>  __utimensat (int fd, const char *file, const struct timespec tsp[2],

>               int flags)


Thanks for spotting this issue and providing a fix.


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

Patch

diff --git a/sysdeps/unix/sysv/linux/utimensat.c b/sysdeps/unix/sysv/linux/utimensat.c
index e4cf089b1d..eb16f0f3d5 100644
--- a/sysdeps/unix/sysv/linux/utimensat.c
+++ b/sysdeps/unix/sysv/linux/utimensat.c
@@ -76,6 +76,8 @@  __utimensat64 (int fd, const char *file, const struct __timespec64 tsp64[2],
 }
 
 #if __TIMESIZE != 64
+libc_hidden_def (__utimensat64)
+
 int
 __utimensat (int fd, const char *file, const struct timespec tsp[2],
              int flags)