-
I see getline() became part of Posix, and recent versions of NetBSD and FreeBSD appear to have
implemented it as well. Thus, it appears to be more appropriate to make configure detect its presence
or absence in the target system, and only use the workaround if it's not available.
2010-01-04 09:48:13 UTC in zarfy
-
The attached patch makes zarfy compile (and run) on non-Linux
Posix-style operating systems. As read_config() already makes a
reasonable attempt to pre-allocate a line buffer for getline(), the
Linux-only call to getline() can simply be replaced by a call to
standard fgets() on systems that don't have getline().
Tested on FreeBSD 7-stable, works fine. (I could not test the
rotate/flip...
2010-01-04 06:48:03 UTC in zarfy
-
joerg_wunsch committed revision 1837 to the QLandkarte GT SVN repository, changing 1 files.
2009-12-22 20:26:24 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1836 to the QLandkarte GT SVN repository, changing 1 files.
2009-12-21 22:37:49 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1835 to the QLandkarte GT SVN repository, changing 9 files.
2009-12-21 21:57:19 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1828 to the QLandkarte GT SVN repository, changing 1 files.
2009-12-20 10:11:38 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1826 to the QLandkarte GT SVN repository, changing 7 files.
2009-12-19 21:57:40 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1825 to the QLandkarte GT SVN repository, changing 2 files.
2009-12-19 21:24:44 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1824 to the QLandkarte GT SVN repository, changing 3 files.
2009-12-19 21:21:44 UTC in QLandkarte GT
-
joerg_wunsch committed revision 1823 to the QLandkarte GT SVN repository, changing 7 files.
2009-12-19 21:20:39 UTC in QLandkarte GT