• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Fix off-by-one error in ary.h (wikitext, fb26fbc)

Created 2/5/2008, updated 3/5/2024
  • snippets

This bug prevented us from returning items at index 0.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Swap out calls to NIL_P when deleting items (wikitext, fb30594)
Use int, not long for array index parameters (wikitext, 15912ec) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).