Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src Pull up following revision(s) (requested by khorben in ti...



details:   https://anonhg.NetBSD.org/src/rev/e697951ea5cf
branches:  netbsd-7
changeset: 799024:e697951ea5cf
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 24 10:47:17 2015 +0000

description:
Pull up following revision(s) (requested by khorben in ticket #547):
        include/unistd.h: revision 1.144
        sys/kern/syscalls.master: revision 1.272

PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.

diffstat:

 include/unistd.h         |  4 ++--
 sys/kern/syscalls.master |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 40d35d0f6c45 -r e697951ea5cf include/unistd.h
--- a/include/unistd.h  Tue Feb 24 10:41:09 2015 +0000
+++ b/include/unistd.h  Tue Feb 24 10:47:17 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.142 2014/07/25 08:30:47 dholland Exp $    */
+/*     $NetBSD: unistd.h,v 1.142.2.1 2015/02/24 10:47:17 martin Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -308,7 +308,7 @@
 int    renameat(int, const char *, int, const char *);
 int    faccessat(int, const char *, int, int);
 int    fchownat(int, const char *, uid_t, gid_t, int);
-int    readlinkat(int, const char *, char *, size_t);
+ssize_t        readlinkat(int, const char *, char *, size_t);
 int    symlinkat(const char *, int, const char *);
 int    unlinkat(int, const char *, int);
 #endif
diff -r 40d35d0f6c45 -r e697951ea5cf sys/kern/syscalls.master
--- a/sys/kern/syscalls.master  Tue Feb 24 10:41:09 2015 +0000
+++ b/sys/kern/syscalls.master  Tue Feb 24 10:47:17 2015 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.270 2014/07/25 08:25:47 dholland Exp $
+       $NetBSD: syscalls.master,v 1.270.2.1 2015/02/24 10:47:17 martin Exp $
 
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
 
@@ -919,7 +919,7 @@
                            const struct timespec *tptr, int flag); }
 468    STD  RUMP       { int|sys||openat(int fd, const char *path, \
                            int oflags, ... mode_t mode); }
-469    STD  RUMP       { int|sys||readlinkat(int fd, const char *path, \
+469    STD  RUMP       { ssize_t|sys||readlinkat(int fd, const char *path, \
                            char *buf, size_t bufsize); }
 470    STD  RUMP       { int|sys||symlinkat(const char *path1, int fd, \
                            const char *path2); }



Home | Main Index | Thread Index | Old Index