WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 34920
[GTK] Fails to build on GNU/Hurd because of PATH_MAX usage
https://bugs.webkit.org/show_bug.cgi?id=34920
Summary
[GTK] Fails to build on GNU/Hurd because of PATH_MAX usage
Emilio Pozuelo Monfort
Reported
2010-02-13 07:06:18 PST
Hi, WebKit built fine on GNU/Hurd until 1.1.17. However some release after that has introduced PATH_MAX in a couple of tests. PATH_MAX is not guaranteed to be defined and thus shouldn't be used unconditionally for portability reasons. I've prepared a patch to avoid using PATH_MAX to let WebKit build on GNU/Hurd again. It uses dynamic allocation instead of fixed size buffers.
Attachments
Avoid using PATH_MAX for portability reasons
(1.60 KB, patch)
2010-02-13 07:18 PST
,
Emilio Pozuelo Monfort
gustavo
: review-
Details
Formatted Diff
Diff
Avoid using PATH_MAX for portability reasons
(2.10 KB, patch)
2010-02-14 11:44 PST
,
Emilio Pozuelo Monfort
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Emilio Pozuelo Monfort
Comment 1
2010-02-13 07:18:16 PST
Created
attachment 48703
[details]
Avoid using PATH_MAX for portability reasons The patch is against 1.1.20 and builds fine, so since the patch is for the test suite, the tests should be fine :)
Gustavo Noronha (kov)
Comment 2
2010-02-14 08:04:19 PST
Comment on
attachment 48703
[details]
Avoid using PATH_MAX for portability reasons Patch looks sane, can you add a ChangeLog entry to WebKit/gtk/ChangeLog, and repost, please? =)
Emilio Pozuelo Monfort
Comment 3
2010-02-14 11:44:09 PST
Created
attachment 48730
[details]
Avoid using PATH_MAX for portability reasons Now with a ChangeLog entry. Patch against current git. I haven't built the tests in git, should I? If so, what's the best way to do it?
Gustavo Noronha (kov)
Comment 4
2010-02-15 08:09:51 PST
Comment on
attachment 48730
[details]
Avoid using PATH_MAX for portability reasons Setting the review flag, since Emilio forgot it.
Gustavo Noronha (kov)
Comment 5
2010-02-15 09:26:26 PST
Comment on
attachment 48730
[details]
Avoid using PATH_MAX for portability reasons Thanks!
WebKit Commit Bot
Comment 6
2010-02-15 09:46:45 PST
Comment on
attachment 48730
[details]
Avoid using PATH_MAX for portability reasons Clearing flags on attachment: 48730 Committed
r54779
: <
http://trac.webkit.org/changeset/54779
>
WebKit Commit Bot
Comment 7
2010-02-15 09:46:52 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug