Branch: refs/heads/ta/fparseln Home: https://github.com/fvwmorg/fvwm3 Commit: 57819ccf5f760f4cebf7f73fdc37555c2b2fab28 https://github.com/fvwmorg/fvwm3/commit/57819ccf5f760f4cebf7f73fdc37555c2b2fab28 Author: Thomas Adam <tho...@fvwm.org> Date: 2019-05-14 (Tue, 14 May 2019)
Changed paths: M .travis.yml M configure.ac M fvwm/Makefile.am M fvwm/read.c Log Message: ----------- read: remove custom fgets logic and use fparseln() When reading in a configuration file (or anything which uses the Read/PipeRead command), there's always been a hard-limit of a configuration line being no more than 1024 bytes. This was fine historically, but this restriction is now rather limiting. This change solves that by using fparseln() from libbsd. This also has the added advantage that it can handle line continuations, which was also part of the hand-rolled logic mentioned above. Because of this change, there's now a hard dependency on libbsd for non-BSD systems.