raw-identify: use fallback if PATH_MAX not available
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 1 Nov 2020 10:07:23 +0000 (11:07 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 21 Oct 2023 22:45:40 +0000 (22:45 +0000)
commitab4a2fee7dcea2670f2cf18b0e627c5c326302f2
tree2322a835031710a137e123d0f654aaac6d4b6230
parent8c82085b0625b8d71d69d30f6c74cae0a7a3bfbc
raw-identify: use fallback if PATH_MAX not available

PATH_MAX is optional in POSIX, so define a fallback value if not
available. While ideally it should not be relied upon, a fallback value
is enough for a sample application.

Gbp-Pq: Name 0002-raw-identify-use-fallback-if-PATH_MAX-not-available.patch
samples/raw-identify.cpp