X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fcntl.c;h=449984c8c98e0bb5618fd0a96083c6b5991caa7f;hb=b5a7c093d06c497ca3e35ed35b147bf52a1103df;hp=cc956688e91a7069267170558ccf460b6be54811;hpb=63c64db5aaa0a87067153095844274ef530a4430;p=gnulib.git diff --git a/tests/test-fcntl.c b/tests/test-fcntl.c index cc956688e..449984c8c 100644 --- a/tests/test-fcntl.c +++ b/tests/test-fcntl.c @@ -1,10 +1,10 @@ /* Test of substitute. Copyright (C) 2007 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program. If not, see . */ /* Written by Bruno Haible , 2007. */ @@ -26,6 +25,9 @@ int o = O_DIRECT | O_DIRECTORY | O_DSYNC | O_NDELAY | O_NOATIME | O_NONBLOCK | O_NOCTTY | O_NOFOLLOW | O_NOLINKS | O_RSYNC | O_SYNC | O_BINARY | O_TEXT; +/* Check that the various SEEK_* macros are defined. */ +int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET }; + int main () {