Commit Graph

32 Commits (master)

Author SHA1 Message Date
heitbaum fe62199737 utils/nfs-ls: dont use nfs_mt_service_thread_ if not built with HAVE_MULTITHREADING 2022-01-28 23:38:04 +00:00
Ronnie Sahlberg 630a80c056 WIN32: add multithreading support for windows 2022-01-02 13:02:31 +10:00
Ronnie Sahlberg f55637619e initial pthread support
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-10-14 16:31:26 +10:00
Ronnie Sahlberg cdb377532a acl: add support and helpers to read nfsv4 acls
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-17 20:11:56 +10:00
Ronnie Sahlberg be437aa102 utils: add a nfs-stat utility
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2021-07-17 20:11:37 +10:00
crusader-mike 4b12b5e005 fixed compilation of utils 2019-10-11 13:29:52 -05:00
crusader-mike 6564abaa1f fixed CMake build on windows, few trivial fixes 2019-09-12 15:07:35 -05:00
Ronnie Sahlberg 9454d9f4c1 Implement O_EXCL for NFSv4
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2018-09-15 08:42:44 +10:00
Daniel Abrecht b3fd3ca7e4 Move win32/win32_compat.h to include/win32/win32_compat.h 2018-04-16 19:42:38 +00:00
Lukas Rusak 7969c78291
add cmake build system support 2017-10-02 13:00:33 -07:00
sahlberg 8c8e615e54 nfs-cp change uint64_t to size_t for the read/write wrappers 2016-09-21 11:35:59 -07:00
sahlberg 2ff6131244 nfs-cp remove unused variable ret 2016-09-21 11:27:27 -07:00
sahlberg 232c9da7cf WIN32: conditionally remove some stat fields that are not present under win32 2016-09-21 11:24:00 -07:00
sahlberg 84c894c8a4 nfs-cp: add casts between the nfs stat elements and the normal stat elements 2016-09-21 11:17:09 -07:00
Ronnie Sahlberg 00d9ba1563 Remove rpc_set_tcp_syncnt from the nfs-cat utility
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2016-05-17 18:38:30 -07:00
Ronnie Sahlberg 66876e2879 Merge pull request #131 from jbkempf/win32_mingw
Support Win32 compilation with Mingw
2016-01-16 08:51:31 -08:00
Jean-Baptiste Kempf d02d5d0f5e The correct NDK define for Android is __ANDROID__
The ANDROID macro is not recommended
2016-01-09 13:35:11 +01:00
Diego Elio Pettenò 6b5b09dbc1 build: avoid abusing AM_LDFLAGS.
This fixes build with options such as --as-needed that require correct positional argument passing. They also ensure that the right dependency library is used.
2016-01-08 23:43:06 +01:00
Jean-Baptiste Kempf 3c37d03f4b Win32: do not compile nfs-cp in utils
It depends on stat features that are not available
2016-01-08 23:23:00 +01:00
Jean-Baptiste Kempf cd53647f53 Win32: link utils with winsock2 2016-01-08 23:23:00 +01:00
Jean-Baptiste Kempf 3ca22dcfdd Win32: Add win32_compat.h include 2016-01-08 23:23:00 +01:00
Ronnie Sahlberg c078a42353 Fix OSX build.
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-09-06 06:52:44 -07:00
Ronnie Sahlberg 08ea9a3138 UTILS: move nfs-cp from examples to utils
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-24 07:50:43 -07:00
Ronnie Sahlberg 4b1de15bb5 UTILS: add nfs-cat utility
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-05-24 07:05:20 -07:00
MilhouseVH 221df2245e Removed unused variables from nfs-ls.c 2015-03-12 05:20:18 +00:00
Ronnie Sahlberg 9a02f775a8 nfs-ls: S_IFLNK is now avbailable under windows. No need for ifdef
We no longer need to ifdef out the S_IFLNK use in nfs-ls since this define
is now also available on windows.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-01-12 20:32:38 -08:00
wsnipex d814d1f785 fix building nfs-ls on android 2014-12-30 14:00:53 +01:00
Ronnie Sahlberg 2db42ce2fc ZDR: remove dependency on zdr.h from the examples and nfs-ls
Signed-off-by: Ronnie Sahlberg <sahlberg@localhost>
2014-07-05 12:44:18 -07:00
Ronnie Sahlberg 390ff38ad1 libnfs.c: add nlink to nfsdirent so we can get it for 'free'
update the nfs-ls utility to just use nfsdirent as is instead of having to
stat the files.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2014-06-08 11:40:35 -07:00
Alex Snast 76ead54bd3 nfs-ls: Fix crash when called with no arguments
When called with no argument we jump to 'finished' label
after which nfs_destroy_url is called with *url having
some garbage stack value.
2014-04-19 19:35:49 +03:00
Ronnie Sahlberg d3b289284a AUTOTOOLS: Add Makefile.am to utils 2014-03-23 09:18:31 -07:00
Ronnie Sahlberg c7ddf2e5cb NFS-LS: Build nfs-ls as utils and make it install under bin 2014-03-21 18:31:05 -07:00