mirror of
https://github.com/troglobit/libite.git
synced 2026-10-14 10:19:31 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9caffc9b7 | ||
|
|
604b503b84 | ||
|
|
5fc248522c | ||
|
|
c0b8bab164 | ||
|
|
c0e9c0431a |
No files matched your search
+22
-1
@@ -3,6 +3,25 @@ Change Log
|
|||||||
|
|
||||||
All notable changes to the project are documented in this file.
|
All notable changes to the project are documented in this file.
|
||||||
|
|
||||||
|
|
||||||
|
[v1.4.2][] - 2016-01-23
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix issue #2: GCC6 `-Wmisleading-indentation` causing FTBFS in pimd,
|
||||||
|
which enables `-Werror`
|
||||||
|
|
||||||
|
|
||||||
|
[v1.4.1][] - 2016-01-22
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix install path for include files, regression in v1.4.0 With the
|
||||||
|
introduction of GNU autotools include file namespace was unfortunately
|
||||||
|
lost. All include files were therefore installed in $(prefix)/include
|
||||||
|
instead of $(prefix)/include/libite.
|
||||||
|
|
||||||
|
|
||||||
[v1.4.0][] - 2016-01-22
|
[v1.4.0][] - 2016-01-22
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
@@ -85,7 +104,9 @@ All notable changes to the project are documented in this file.
|
|||||||
Initial extraction of frog DNA from [Finit][]. See [README][] for API details.
|
Initial extraction of frog DNA from [Finit][]. See [README][] for API details.
|
||||||
|
|
||||||
|
|
||||||
[UNRELEASED]: https://github.com/troglobit/libite/compare/v1.4.0...HEAD
|
[UNRELEASED]: https://github.com/troglobit/libite/compare/v1.4.2...HEAD
|
||||||
|
[v1.4.2]: https://github.com/troglobit/libite/compare/v1.4.1...v1.4.2
|
||||||
|
[v1.4.1]: https://github.com/troglobit/libite/compare/v1.4.0...v1.4.1
|
||||||
[v1.4.0]: https://github.com/troglobit/libite/compare/v1.3.0...v1.4.0
|
[v1.4.0]: https://github.com/troglobit/libite/compare/v1.3.0...v1.4.0
|
||||||
[v1.3.0]: https://github.com/troglobit/libite/compare/v1.2.0...v1.3.0
|
[v1.3.0]: https://github.com/troglobit/libite/compare/v1.2.0...v1.3.0
|
||||||
[v1.2.0]: https://github.com/troglobit/libite/compare/v1.1.1...v1.2.0
|
[v1.2.0]: https://github.com/troglobit/libite/compare/v1.1.1...v1.2.0
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
lib_LTLIBRARIES = libite.la
|
lib_LTLIBRARIES = libite.la
|
||||||
include_HEADERS = lite.h queue.h conio.h tree.h
|
pkginclude_HEADERS = lite.h queue.h conio.h tree.h
|
||||||
libite_la_SOURCES = chomp.c copyfile.c dir.c fexist.c fisdir.c fmode.c fsendfile.c \
|
libite_la_SOURCES = chomp.c copyfile.c dir.c fexist.c fisdir.c fmode.c fsendfile.c \
|
||||||
ifconfig.c lfile.c makepath.c pidfile.c pidfilefn.c progress.c \
|
ifconfig.c lfile.c makepath.c pidfile.c pidfilefn.c progress.c \
|
||||||
rsync.c strlcpy.c strlcat.c strtonum.c tempfile.c tree.c
|
rsync.c strlcpy.c strlcat.c strtonum.c tempfile.c tree.c
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Use v2.61 for backwards compat with Ubuntu 12.04 LTS
|
# Use v2.61 for backwards compat with Ubuntu 12.04 LTS
|
||||||
AC_PREREQ([2.61])
|
AC_PREREQ([2.61])
|
||||||
AC_INIT(libite, 1.4.0, https://github.com/troglobit/libite/issues)
|
AC_INIT(libite, 1.4.2, https://github.com/troglobit/libite/issues)
|
||||||
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
|
|||||||
@@ -130,12 +130,16 @@ int tree(char *path, int show_perms);
|
|||||||
#define UNUSED(x) UNUSED_ ## x __attribute__ ((unused))
|
#define UNUSED(x) UNUSED_ ## x __attribute__ ((unused))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Does directory end with a slash? */
|
||||||
static inline int fisslashdir(char *dir)
|
static inline int fisslashdir(char *dir)
|
||||||
{
|
{
|
||||||
if (!dir) return 0;
|
if (!dir)
|
||||||
if (strlen (dir) > 0) return dir[strlen (dir) - 1] == '/';
|
return 0;
|
||||||
return 0;
|
|
||||||
|
if (strlen(dir) > 0)
|
||||||
|
return dir[strlen(dir) - 1] == '/';
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert string to natural number (0-2147483647), returns -1 on error. */
|
/* Convert string to natural number (0-2147483647), returns -1 on error. */
|
||||||
|
|||||||
Reference in new issue
Block a user