[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 |
URL:
<https://savannah.gnu.org/bugs/?55449>
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
_______________________________________________________
Details:
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:
<https://savannah.gnu.org/bugs/?55449>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #55449] Use FILENAME_MAX in maxfilename.cpp,
Eli Zaretskii <=
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Steffen Nurpmeso, 2019/01/11
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Eli Zaretskii, 2019/01/12
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Steffen Nurpmeso, 2019/01/12
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Eli Zaretskii, 2019/01/12
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Steffen Nurpmeso, 2019/01/12
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Steffen Nurpmeso, 2019/01/12
- Re: [bug #55449] Use FILENAME_MAX in maxfilename.cpp, Steffen Nurpmeso, 2019/01/12