Skip to content

[Bug] Use of deprecated sbrk #712

@lbartoletti

Description

@lbartoletti

Describe the bug
sbrk is an old function deprecated and removed from grass many times, but there is a leftover in r.terraflow (https://github.com/OSGeo/grass/blob/master/raster/r.terraflow/stats.cpp#L130 and https://github.com/OSGeo/grass/blob/master/raster/r.terraflow/stats.cpp#L154)

To Reproduce

Expected behavior
Remove sbrk in favor of mmap?

Screenshots
If applicable, add screenshots to help explain your problem.

System description (please complete the following information):

  • Operating System: FreeBSD aarch64/riscv64 and MacOS
  • GRASS GIS version All

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions