summaryrefslogtreecommitdiff
path: root/source3/tests/fcntl_lock.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-5/+5
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r22731: - Fix bug #4594.Derrell Lipman1-5/+5
configure.in determines if -Werror-implicit-function-declaration is available, and if so it enables that flag if --enable-developer is specified. Since the configure tests themselves did not use that flag, it was possible for a configure test to succeed, followed by a failed compilation due to a facility being available but not having a proper declaration in a header file. (This bit me with readahead().) This patch ensures that if implicit function declarations will kill the build, the feature being tested is deselected so the build will succeed. The autoconf manual suggests using return instead of exit in configure tests because the declaration for exit is often missing. We require this now, since we error if prototypes are missing. See section 5.5.1 of http://www.gnu.org/software/autoconf/manual/autoconf.html. This patch makes these changes, because in fact, an external declaration for exit is missing here (and likely elsewhere). I've verified that the features selected (here) with the original configure.in and the new one are the same except for, in my case, readahead. I've also confirmed that the generated Makefile is identical. These changes are not being applied to the 3.0.26 branch because it does not exhibit the initial problem this patch is supposed to solve since it doesn't attempt to use -Werror-implicit-function-declaration. (This used to be commit 4d42720915b8f65842147171f689127e94d1b973)
2001-05-06allow env variable TESTDIR for directory for fcntl_lock testAndrew Tridgell1-0/+4
(This used to be commit b6645402b12cf8eaa7d9edf7dba3fae1f5ec0356)
2001-05-06add an alarm to fcntl test to stop tru64 from freezing on the testAndrew Tridgell1-0/+2
(This used to be commit 6b1ced1674217343ab4e5f966608a21c66bf650c)
2001-05-02use O_EXCL for fcntl_lock.c test in case some fool runs on /tmpAndrew Tridgell1-1/+2
(This used to be commit 4d3d7a0d673b80f1de411a5fb5a23ae06cf80f43)
2001-05-02added sys/wait.h to fcntl_lock testAndrew Tridgell1-0/+4
(This used to be commit ed151605e57b7db3457cdf0c87f71c86e84c8f5b)
2001-05-02added error msgs to fcntl_lock testAndrew Tridgell1-1/+17
(This used to be commit db5d38736d0d91acb55f4e4a67f33a2c0b5fdca3)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-1/+16
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1998-10-22server/srv_samr.c smbd/ipc.c: Changed global_myworkgroup back to fstringJeremy Allison1-0/+1
(as it is everywhere else). smbwrapper/smbsh.c: For IRIX n32 binaries, set _RLDN32_LIST not _RLD32_LIST. Exec users preferred shell is SHELL environment variable is set. tests/fcntl_lock.c: Added sys/types.h for systems that need this. Jeremy. (This used to be commit 50413d0d819d4f13e760ca8439c5bdde0898d63e)
1998-07-29merge from the autoconf2 branch to the main branchAndrew Tridgell1-0/+78
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)