2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
authorDaniel Jacobowitz <dan@codesourcery.com>
Wed, 2 Apr 2008 12:58:39 +0000 (12:58 +0000)
committerDaniel Jacobowitz <dan@codesourcery.com>
Wed, 2 Apr 2008 12:58:39 +0000 (12:58 +0000)
* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
truncate and ftruncate systems calls.
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
empty file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.

ChangeLog.mips
sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c
sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c

index a7a219e..cbc72ef 100644 (file)
@@ -1,3 +1,11 @@
+2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add 
+       truncate and ftruncate systems calls.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
+       empty file.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
+
 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
index 42efcba..6e25b02 100644 (file)
@@ -1,28 +1 @@
-/* Copyright (C) 2003 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 Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 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
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
-
-#include <sys/types.h>
-
-#include <sysdep.h>
-
-extern int ftruncate (int fd, off64_t length);
-
-int __ftruncate64 (int fd, off64_t length) {
-  return ftruncate (fd, length);
-}
-weak_alias (__ftruncate64, ftruncate64)
+/* Empty.  */
index babdba0..2e4bed0 100644 (file)
@@ -3,3 +3,5 @@
 readahead      -       readahead       i:iii   __readahead     readahead
 sync_file_range        -       sync_file_range i:iiii  sync_file_range
 posix_fadvise  -       fadvise64       i:iiii  posix_fadvise
+ftruncate      -       ftruncate       i:ii    __ftruncate     ftruncate ftruncate64 __ftruncate64
+truncate       -       truncate        i:si    truncate        truncate64
index 339023f..6e25b02 100644 (file)
@@ -1,30 +1 @@
-/* Copyright (C) 2003 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 Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 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
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
-
-#include <sys/types.h>
-
-#include <sysdep.h>
-#include <bp-checks.h>
-
-extern int truncate (const char *__unbounded path, int dummy,
-                    off64_t length);
-
-int truncate64 (const char *__unbounded path, int dummy,
-               off64_t length) {
-  return truncate (path, dummy, length);
-}
+/* Empty.  */