Go to file
Máximo Castañeda 13b63e9f80 posix: fix confstr
* Off-by-one error copying the string.
* As per the spec, return the buffer length for the string when passed a
  null pointer and 0 length.

Fixes https://github.com/haikuports/haikuports/issues/5821

Change-Id: Ic421f26db00f9820c6a617375e39f7341cd5ebc1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4110
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
(cherry picked from commit 4c23dfb3a3)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4019
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-06-28 12:13:35 +00:00
3rdparty Replaced and updated Docker images 2021-05-19 05:42:07 +00:00
build build: Enable HAIKU_OFFICIAL_RELEASE to change logos; #17028 2021-06-24 12:40:22 +00:00
data bios_ia32/kernel: Disable serial debug output by default 2021-06-21 11:47:55 -05:00
docs TextView docs: Add class overview 2021-06-06 12:44:28 +00:00
headers version: Add BETA_3 and PRE_BETA_4 constraints. 2021-06-21 11:35:47 -05:00
src posix: fix confstr 2021-06-28 12:13:35 +00:00
.editorconfig
.gitignore gitignore: Add Visual Studio Code and IntelliJ IDEA configuration directories 2021-05-31 20:15:44 +00:00
.gitreview gerrit: Add .gitreview config 2018-01-04 00:04:02 -06:00
configure Implement stack protection support 2021-05-03 17:52:31 +00:00
Jamfile Update build packages repository 2021-05-14 14:59:19 +00:00
Jamrules Revert "Jamrules: Include the UserBuildConfig before processing repositories." 2019-09-15 17:33:36 +02:00
lgtm.yml lgtm.yml: Fix build 2021-04-17 19:53:06 +00:00
License.md
ReadMe.Compiling.md Update build packages repository 2021-05-14 14:59:19 +00:00
ReadMe.md ReadMe: Add Getting Involved link 2021-06-13 21:06:58 +00:00

Haiku

Homepage | Mailing Lists | IRC Channels | Issue Tracker | API docs

Haiku is an open-source operating system that specifically targets personal computing. Inspired by the BeOS, Haiku is fast, simple to use, easy to learn and yet very powerful.

Goals

  • Sensible defaults with minimal configuration required.
  • Clean, clear, concise code.
  • Unified desktop environment.

Trying Haiku

Haiku provides pre-built nightly images and release images. Haiku is compatible with a large variety of hardware, but in case you don't want to "take the plunge" and install Haiku on bare metal, you can install it on a virtual machine (VM) instead. If you've never used a VM before, you can follow one of the "Emulating Haiku" guides.

Compiling Haiku

See ReadMe.Compiling.

Contributing

Haiku is a meritocratic open source project with a large variety of tasks. Even if you can't write code, you can still help! Haiku needs designers, (technical) writers, translators, testers... Get involved and help out!

Contributing code

If you're submitting a patch to us, please make sure you're following the patch submitting guidelines.

If you're having trouble finding something in the source tree, you can use one of our web-based source code browsers:

Contributing documentation

The main piece of documentation that still needs work are the API docs (found in the tree at docs/user). Just find an undocumented class, write documentation for it, and submit a patch.

Contributing translations

See wiki:i18n.

Contributing software ports

See HaikuPorts.

Contributing to our infrastructure

See Infrastructure.