modules: support 8.3 truncated filenames.
commit2c19e82d5d813565abfc2aca0085e1da339416fd
authorGary V. Vaughan <gary@gnu.org>
Fri, 21 Nov 2014 18:39:23 +0000 (21 18:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 21 Nov 2014 18:39:23 +0000 (21 18:39 +0000)
tree6fdc251e2a6e22cc7439880cec5c3e5198afc90f
parent3285293706f3a2af3a3c5c97ec48c59a0b8bf63f
modules: support 8.3 truncated filenames.

* m4/path.c (TRUNCATE_FILENAME): New macro, defined on OS2.
(path_truncate): New function when TRUNCATE_FILENAME is defined,
otherwise a null-operation macro.  Trim the basename to no more
than 8 characters, followed by the extension.
(m4_path_search): Use it.
Reported by Ko Myung-Hun

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
m4/path.c