summaryrefslogtreecommitdiffstats
path: root/sys-utils/flock.c
Commit message (Collapse)AuthorAgeFilesLines
...
* flock: add NLS support, remove tailing white-spacesKarel Zak2009-03-111-18/+24
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: fix printf format error in usage()Karel Zak2009-03-111-5/+5
| | | | | | | flock.c: In function ‘usage’: flock.c:75: warning: too few arguments for format Signed-off-by: Karel Zak <kzak@redhat.com>
* flockc: segfaults when file name is not givenKarel Zak2009-03-111-1/+8
| | | | | | | | | | | | | | | | $ flock -s Segmentation fault ltrace: __libc_start_main(0x8048870, 2, 0xbfe9f404, 0x8049070, 0x8049060 <unfinished ...> getopt_long(2, 0xbfe9f404, "+sexnouw:hV?", 0x80494e0, 0xbfe9f354) = 115 getopt_long(2, 0xbfe9f404, "+sexnouw:hV?", 0x80494e0, 0xbfe9f354) = -1 strtol(0, 0xbfe9f34c, 10, 0x80494e0, 0xbfe9f354 <unfinished ...> --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ Addresses-Red-Had-Bugzilla: #489672 Signed-off-by: Karel Zak <kzak@redhat.com>
* flock: Allow lock directoryAlexey Gladkov2008-12-031-1/+6
| | | | | | | | | | With this patch, you can lock directory. Additionally, lockfile opens with O_NOCTTY. Try to open file with O_CREAT flag first, and without it if open fails with EISDIR. Suggested by H. Peter Anvin. Signed-off-by: Alexey Gladkov <legion@altlinux.org>
* remove CVS keywordsmaximilian attems2008-07-281-1/+0Star
| | | | | | | | this patch removes old CVS keywords from comments. mount(8) works for newer Linux then 0.99 ;) Signed-off-by: maximilian attems <max@stro.at>
* Imported from util-linux-2.13-pre7 tarball.Karel Zak2006-12-071-3/+3
|
* Imported from util-linux-2.13-pre2 tarball.Karel Zak2006-12-071-109/+296
|
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.12j tarball.Karel Zak2006-12-071-0/+116