projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootstrap: warn about BSD toolchain snafu
[gnulib.git]
/
tests
/
test-flock.c
diff --git
a/tests/test-flock.c
b/tests/test-flock.c
index
96baa27
..
2012c74
100644
(file)
--- a/
tests/test-flock.c
+++ b/
tests/test-flock.c
@@
-1,5
+1,5
@@
/* Test of flock() function.
/* Test of flock() function.
- Copyright (C) 2008-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2008-201
3
Free Software Foundation, Inc.
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
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
@@
-100,7
+100,7
@@
main (int argc, char *argv[])
#if defined __linux__
/* Invalid operation codes are rejected by the Linux implementation and by
#if defined __linux__
/* Invalid operation codes are rejected by the Linux implementation and by
- the gnulib replacement, but not by the MacOS X implementation. */
+ the gnulib replacement, but not by the Mac
OS X implementation. */
ASSERT (flock (fd, LOCK_SH | LOCK_EX) == -1);
ASSERT (errno == EINVAL);
ASSERT (flock (fd, LOCK_SH | LOCK_UN) == -1);
ASSERT (flock (fd, LOCK_SH | LOCK_EX) == -1);
ASSERT (errno == EINVAL);
ASSERT (flock (fd, LOCK_SH | LOCK_UN) == -1);