From: Ulrich Drepper Date: Tue, 18 Apr 2000 17:42:52 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~25786 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc32d4fe06d8a2e4826c55b423d514a00612426b;p=external%2Fglibc.git Update. 2000-04-18 Ulrich Drepper * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. * sysdeps/unix/sysv/aix/setregid.c: Likewise. * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. * sysdeps/unix/sysv/aix/setgid.c: Likewise. * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. * sysdeps/unix/sysv/aix/setegid.c: Likewise. * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define it here. * sysdeps/unix/sysv/aix/msync.c: New file. * sysdeps/unix/sysv/aix/msgsnd.c: New file. * sysdeps/unix/sysv/aix/net/if.h: New file. * sysdeps/unix/sysv/aix/pipe.c: New file. * sysdeps/unix/sysv/aix/poll.c: New file. * sysdeps/unix/sysv/aix/rename.c: New file. * sysdeps/unix/sysv/aix/rmdir.c: New file. * sysdeps/unix/sysv/aix/select.c: New file. * sysdeps/unix/sysv/aix/semctl.c: New file. * sysdeps/unix/sysv/aix/semget.c: New file. * sysdeps/unix/sysv/aix/semop.c: New file. * sysdeps/unix/sysv/aix/sendto.c: New file. * sysdeps/unix/sysv/aix/setgroups.c: New file. * sysdeps/unix/sysv/aix/setpgid.c: New file. * sysdeps/unix/sysv/aix/setpgrp.c: New file. * sysdeps/unix/sysv/aix/setpriority.c: New file. * sysdeps/unix/sysv/aix/setrlimit.c: New file. * sysdeps/unix/sysv/aix/setrlimit64.c: New file. * sysdeps/unix/sysv/aix/setsid.c: New file. * sysdeps/unix/sysv/aix/setsockopt.c: New file. * sysdeps/unix/sysv/aix/shmat.c: New file. * sysdeps/unix/sysv/aix/shmctl.c: New file. * sysdeps/unix/sysv/aix/shmdt.c: New file. * sysdeps/unix/sysv/aix/shmget.c: New file. * sysdeps/unix/sysv/aix/sigaltstack.c: New file. * sysdeps/unix/sysv/aix/sigstack.c: New file. * sysdeps/unix/sysv/aix/socket.c: New file. * sysdeps/unix/sysv/aix/socketpair.c: New file. * sysdeps/unix/sysv/aix/speed.c: New file. * sysdeps/unix/sysv/aix/symlink.c: New file. * sysdeps/unix/sysv/aix/sync.c: New file. * sysdeps/unix/sysv/aix/tcgetattr.c: New file. * sysdeps/unix/sysv/aix/tcsetattr.c: New file. * sysdeps/unix/sysv/aix/times.c: New file. * sysdeps/unix/sysv/aix/ulimit.c: New file. * sysdeps/unix/sysv/aix/umask.c: New file. * sysdeps/unix/sysv/aix/unlink.c: New file. * sysdeps/unix/sysv/aix/ustat.c: New file. * sysdeps/unix/sysv/aix/utimes.c: New file. --- diff --git a/ChangeLog b/ChangeLog index 5f38804..4045258 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,57 @@ +2000-04-18 Ulrich Drepper + + * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64. + * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL. + * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS. + * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL. + * sysdeps/unix/sysv/aix/setregid.c: Likewise. + * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL. + * sysdeps/unix/sysv/aix/setgid.c: Likewise. + * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE. + * sysdeps/unix/sysv/aix/setegid.c: Likewise. + * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type. + * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define + it here. + * sysdeps/unix/sysv/aix/msync.c: New file. + * sysdeps/unix/sysv/aix/msgsnd.c: New file. + * sysdeps/unix/sysv/aix/net/if.h: New file. + * sysdeps/unix/sysv/aix/pipe.c: New file. + * sysdeps/unix/sysv/aix/poll.c: New file. + * sysdeps/unix/sysv/aix/rename.c: New file. + * sysdeps/unix/sysv/aix/rmdir.c: New file. + * sysdeps/unix/sysv/aix/select.c: New file. + * sysdeps/unix/sysv/aix/semctl.c: New file. + * sysdeps/unix/sysv/aix/semget.c: New file. + * sysdeps/unix/sysv/aix/semop.c: New file. + * sysdeps/unix/sysv/aix/sendto.c: New file. + * sysdeps/unix/sysv/aix/setgroups.c: New file. + * sysdeps/unix/sysv/aix/setpgid.c: New file. + * sysdeps/unix/sysv/aix/setpgrp.c: New file. + * sysdeps/unix/sysv/aix/setpriority.c: New file. + * sysdeps/unix/sysv/aix/setrlimit.c: New file. + * sysdeps/unix/sysv/aix/setrlimit64.c: New file. + * sysdeps/unix/sysv/aix/setsid.c: New file. + * sysdeps/unix/sysv/aix/setsockopt.c: New file. + * sysdeps/unix/sysv/aix/shmat.c: New file. + * sysdeps/unix/sysv/aix/shmctl.c: New file. + * sysdeps/unix/sysv/aix/shmdt.c: New file. + * sysdeps/unix/sysv/aix/shmget.c: New file. + * sysdeps/unix/sysv/aix/sigaltstack.c: New file. + * sysdeps/unix/sysv/aix/sigstack.c: New file. + * sysdeps/unix/sysv/aix/socket.c: New file. + * sysdeps/unix/sysv/aix/socketpair.c: New file. + * sysdeps/unix/sysv/aix/speed.c: New file. + * sysdeps/unix/sysv/aix/symlink.c: New file. + * sysdeps/unix/sysv/aix/sync.c: New file. + * sysdeps/unix/sysv/aix/tcgetattr.c: New file. + * sysdeps/unix/sysv/aix/tcsetattr.c: New file. + * sysdeps/unix/sysv/aix/times.c: New file. + * sysdeps/unix/sysv/aix/ulimit.c: New file. + * sysdeps/unix/sysv/aix/umask.c: New file. + * sysdeps/unix/sysv/aix/unlink.c: New file. + * sysdeps/unix/sysv/aix/ustat.c: New file. + * sysdeps/unix/sysv/aix/utimes.c: New file. + 2000-04-18 Andreas Jaeger * manual/startup.texi (Environment Access): Fix putenv prototype diff --git a/sysdeps/unix/sysv/aix/ulimit.c b/sysdeps/unix/sysv/aix/ulimit.c new file mode 100644 index 0000000..c72a527 --- /dev/null +++ b/sysdeps/unix/sysv/aix/ulimit.c @@ -0,0 +1,37 @@ +/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include + +long int +__ulimit (int cmd, ...) +{ + va_list va; + long int arg; + long int res; + + va_start (va, cmd); + arg = va_arg (va, long int); + + res = ulimit (cmd, arg); + + va_end (va); + + return res; +} diff --git a/sysdeps/unix/sysv/aix/umask.c b/sysdeps/unix/sysv/aix/umask.c new file mode 100644 index 0000000..6bbfdac --- /dev/null +++ b/sysdeps/unix/sysv/aix/umask.c @@ -0,0 +1,26 @@ +/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include + +mode_t +__umask (mask) + mode_t mask; +{ + return umask (mask); +} diff --git a/sysdeps/unix/sysv/aix/unlink.c b/sysdeps/unix/sysv/aix/unlink.c new file mode 100644 index 0000000..e1bac23 --- /dev/null +++ b/sysdeps/unix/sysv/aix/unlink.c @@ -0,0 +1,26 @@ +/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include + +int +__unlink (name) + const char *name; +{ + return unlink (name); +} diff --git a/sysdeps/unix/sysv/aix/ustat.c b/sysdeps/unix/sysv/aix/ustat.c new file mode 100644 index 0000000..6036fbb --- /dev/null +++ b/sysdeps/unix/sysv/aix/ustat.c @@ -0,0 +1 @@ +/* This is a system call. */ diff --git a/sysdeps/unix/sysv/aix/utimes.c b/sysdeps/unix/sysv/aix/utimes.c new file mode 100644 index 0000000..907931a --- /dev/null +++ b/sysdeps/unix/sysv/aix/utimes.c @@ -0,0 +1,27 @@ +/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include + +int +__utimes (file, tvp) + const char *file; + const struct timeval tvp[2]; +{ + return utimes (file, tvp); +} diff --git a/sysdeps/unix/sysv/aix/xstat.c b/sysdeps/unix/sysv/aix/xstat.c index e053ce7..df01afa 100644 --- a/sysdeps/unix/sysv/aix/xstat.c +++ b/sysdeps/unix/sysv/aix/xstat.c @@ -19,9 +19,8 @@ #include #include -/* this is #define'd in why #define it here? #define STX_NORMAL 0x00 - */ + extern int statx (const char *pathname, struct stat *st, int len, int cmd); diff --git a/sysdeps/unix/sysv/aix/xstat64.c b/sysdeps/unix/sysv/aix/xstat64.c index 07a62fd..eadf637 100644 --- a/sysdeps/unix/sysv/aix/xstat64.c +++ b/sysdeps/unix/sysv/aix/xstat64.c @@ -19,10 +19,9 @@ #include #include -/* these are #define'd in , why #define them here? #define STX_NORMAL 0x00 #define STX_64 0x08 - */ + extern int statx (const char *pathname, struct stat64 *st, int len, int cmd);