Skip to content

Commit 9cf8a79

Browse files
committed
Fix handling of special directory name . in POV-Ray for Windows.
1 parent b4605a5 commit 9cf8a79

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

changes.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,16 @@ Reported via the Newsgroups:
4949
(2017-01-27, povray.beta-test, "utf8")
5050
Crash when using `charset utf8`.
5151

52+
53+
(2017-02-16, povray.beta-test, "Windows beta.2-QA09T.msvc10.win64 does not accept "./" as a path")
54+
Special directory name `.` not handled properly in POV-Ray for Windows.
55+
5256
Miscellaneous:
5357

5458
- Optional fields in macro parameters or tuple assignments now accept
5559
uninitialized directory entries.
5660
- Some minor fixes to the Windows inbuilt help.
61+
- Increased thread stack size on Linux machines.
5762

5863
Other Noteworthy
5964
----------------

platform/windows/syspovpath.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/// @parblock
99
///
1010
/// Persistence of Vision Ray Tracer ('POV-Ray') version 3.7.
11-
/// Copyright 1991-2016 Persistence of Vision Raytracer Pty. Ltd.
11+
/// Copyright 1991-2017 Persistence of Vision Raytracer Pty. Ltd.
1212
///
1313
/// POV-Ray is free software: you can redistribute it and/or modify
1414
/// it under the terms of the GNU Affero General Public License as
@@ -163,12 +163,15 @@ bool Path::ParsePathString (UCS2String& volume, vector<UCS2String>& dirnames, UC
163163
{
164164
if (POV_IS_PATH_SEPARATOR(*i))
165165
{
166-
if (!stash.empty() && !IsCurrentDir(stash))
166+
if (!stash.empty())
167167
{
168-
if (!dirnames.empty() && IsParentDir(stash))
169-
dirnames.pop_back();
170-
else
171-
dirnames.push_back (stash);
168+
if (!IsCurrentDir(stash))
169+
{
170+
if (!dirnames.empty() && IsParentDir(stash))
171+
dirnames.pop_back();
172+
else
173+
dirnames.push_back (stash);
174+
}
172175
stash.clear();
173176
}
174177
}

revision.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ Notes:
3030
POV-Ray v3.7.1-TBD
3131
------------------------------------------------------------------------------
3232

33+
Commit b4605a5 on 2017-02-14 by William F. Pokorny (wfpokorny)
34+
35+
Fixing thread stack size overrun crash. (#235)
36+
37+
Fixes Dick Balaska's seg fault as report in beta-test newsgroup on
38+
February 12, 2017. In particular we are extending the
39+
POV_THREAD_STACK_SIZE macro mechanism to all NewBoostThread
40+
calls.
41+
42+
Commit 0e8dbe8 on 2017-02-08 by William F. Pokorny (wfpokorny)
43+
44+
Adding POV_THREAD_STACK_SIZE macro. (#231)
45+
46+
Unix default is 4MB due regression, otherise 2MB. Checks added for a min
47+
size of 64KB.
48+
49+
Commit 060464b on 2017-02-05 by Christoph Lipka
50+
51+
[ci skip] Minor update to `README.md`.
52+
3353
Commit cfaa14d on 2017-02-05 by Christoph Lipka
3454

3555
[ci skip] Update POV-Ray for Windows "about" box.

0 commit comments

Comments
 (0)