This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年08月31日 23:52 by trent, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue15835.diff | skrah, 2012年09月23日 17:58 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg169593 - (view) | Author: Trent Nelson (trent) * (Python committer) | Date: 2012年08月31日 23:52 | |
Building on HP-UX with the HP ANSI C compiler: % make cc -Ae -c -O -O -I. -I./Include -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c "Python/pythonrun.c", line 805: error #2020: identifier "PATH_MAX" is undefined static wchar_t env_home[PATH_MAX+1]; ^ 1 error detected in the compilation of "Python/pythonrun.c". *** Error exit code 2 Stop. Placeholder bug whilst I do some more digging. |
|||
| msg171068 - (view) | Author: Stefan Krah (skrah) * (Python committer) | Date: 2012年09月23日 17:58 | |
PATH_MAX seems to be a mess on HP-UX: It's only defined in limits.h if _INCLUDE_XOPEN_SOURCE_PRE_500 is defined. But MAXPATHLEN is always defined in sys/param.h, so I suggest to use that (patch attached). Other projects take a similar approach by just defining PATH_MAX as 1024: http://lists.gnu.org/archive/html/bug-gnulib/2011-06/msg00242.html |
|||
| msg175455 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2012年11月12日 15:43 | |
The patch looks good, please apply. |
|||
| msg175466 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年11月12日 19:37 | |
New changeset 5db6d9ddf6e8 by Stefan Krah in branch '3.3': Issue #15835: Define PATH_MAX on HP-UX. http://hg.python.org/cpython/rev/5db6d9ddf6e8 |
|||
| msg175467 - (view) | Author: Stefan Krah (skrah) * (Python committer) | Date: 2012年11月12日 19:40 | |
Thanks for reviewing! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 60039 |
| 2012年11月12日 19:40:04 | skrah | set | status: open -> closed resolution: fixed messages: + msg175467 stage: resolved |
| 2012年11月12日 19:37:08 | python-dev | set | nosy:
+ python-dev messages: + msg175466 |
| 2012年11月12日 15:43:35 | loewis | set | nosy:
+ loewis messages: + msg175455 |
| 2012年09月23日 17:58:06 | skrah | set | files:
+ issue15835.diff nosy: + skrah messages: + msg171068 keywords: + buildbot, patch |
| 2012年08月31日 23:52:29 | trent | create | |