Karel Zak
0b05aab402
hardlink: cleanup global variables
...
* remove NAMELEN, use PATH_MAX
* mark global variables as static
* move all global variables to the begin of the code
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-02-11 13:18:35 +01:00
Karel Zak
3807e71af4
hardlink: remove typedefs
...
- remove typedefs
- use long names for structs
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-02-11 13:00:18 +01:00
Karel Zak
d55db6724c
hardlink: cleanup error messages, use xalloc.h
...
- do not use magical doexit(), just use err()
- print summary on exit
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-02-06 17:23:54 +01:00
Karel Zak
c545e62c68
hardlink: cleanup verbose and warning messages
...
- use warn()
- use stdout rather than stderr
Signed-off-by: Karel Zak <kzak@redhat.com>
2019-02-06 17:14:01 +01:00
Ruediger Meier
7d50d36121
hardlink: util-linux usage
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2018-11-14 00:37:14 +01:00
Ruediger Meier
53071734aa
hardlink: fix compiler warnings
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2018-11-14 00:37:04 +01:00
Ruediger Meier
55c000e1eb
hardlink: style indentations and license header
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2018-11-12 19:44:39 +01:00
Ruediger Meier
04ae85a7e5
hardlink: enable build with and without pcre2
...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2018-11-12 19:40:33 +01:00
Francisco Javier Tsao Santín
c64d7e60b1
Fixed version number, added changelog about Todd Lewis' patch
2018-06-12 14:24:04 +02:00
Todd Lewis
551e8963f4
exclude files via pcre
2018-06-12 14:24:02 +02:00
Francisco Javier Tsao Santín
92c79dc79e
Fixed 32 bit build with gcc7 (RH Bugzilla ID 1422989)
2018-06-12 14:23:57 +02:00
Francisco Javier Tsao Santín
4d072ba715
spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); update FSF address at .c source file
2018-06-12 14:23:55 +02:00
Francisco Javier Tsao Santín
cbb0524c7c
Revert "spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); current FSF address at .c source file"
...
This reverts commit bb9e76ae339794c2243ae294207942b7ea278364.
2018-06-12 14:23:52 +02:00
Francisco Javier Tsao Santín
c11af66f0f
spec file reflects the atomic hardlinking patch; removed cleaning buildroot (redundant); current FSF address at .c source file
2018-06-12 14:23:49 +02:00
Jindrich Novy
c23b4a2305
do not allow to hardlink files across filesystems by default ( #786719 )
...
(use -f option to override)
2018-06-12 14:23:44 +02:00
Jindrich Novy
94b040b06b
fix possible buffer overflows, integer overflows, update man page
2018-06-12 14:23:41 +02:00
Jindrich Novy
0cd6b1d353
fix URL and remove mmap() ( #676962 , #672917 )
2018-06-12 14:23:38 +02:00
Jindrich Novy
a272f143e7
- update docs to describe highest verbosity -vv option ( #210816 )
...
- use dist Resolves: 210816
2018-06-12 14:23:35 +02:00
Jindrich Novy
b4ece7768f
mostly spec cleanup
2018-06-12 14:23:31 +02:00
Jindrich Novy
cabf1c1cb7
add -h option
2018-06-12 14:23:25 +02:00
Dave Jones
a810992a72
Document hardlink command line options. (Ville Skytta) ( #161738 )
2018-06-12 14:23:03 +02:00
Jeremy Katz
a16d7294a8
- don't try to hardlink 0 byte files ( #154404 )
2018-06-12 14:22:59 +02:00
Dave Jones
5edefc9242
kill warning
2018-06-12 14:22:54 +02:00
Dave Jones
0ec20db824
auto-import hardlink-1.0-1.1 on branch devel from hardlink-1.0-1.1.src.rpm
2018-06-12 14:22:47 +02:00