[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55449] Use FILENAME_MAX in maxfilename.cpp

From: Eli Zaretskii
Subject: [bug #55449] Use FILENAME_MAX in maxfilename.cpp
Date: Fri, 11 Jan 2019 14:41:07 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: Use FILENAME_MAX in maxfilename.cpp
                 Project: GNU troff
            Submitted by: eliz
            Submitted on: Fri 11 Jan 2019 09:41:05 PM IST
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None



For platforms which don't have the Posix pathconf, maxfilename.cpp should try
harder, and look at (the ANSI-standard) FILENAME_MAX in addition to the other
varieties.  Right now, it decides that NAME_MAX is 14 on MS-Windows, which of
course makes no sense.  One adverse effect of this is that temporary file
names don't get the "groff" prefix, for no good reason.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]