[GRASS-git] [OSGeo/grass] cd5f1b: lib/gis: Add portable G_strlcat function (#4304)

Nicklas Larsson noreply at github.com
Fri Sep 13 05:01:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: cd5f1bd277c1beb7e5fdfa7f3b4db0caf26f6c51
      https://github.com/OSGeo/grass/commit/cd5f1bd277c1beb7e5fdfa7f3b4db0caf26f6c51
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M configure
    M configure.ac
    M include/grass/config.h.in
    M include/grass/defs/gis.h
    A lib/gis/strlcat.c

  Log Message:
  -----------
  lib/gis: Add portable G_strlcat function (#4304)

Add wrapper function for strlcat(), using system function if available, otherwise
uses implementation by Todd C. Miller originated from
https://github.com/openbsd/src/blob/e291b8af02e5c2b53d7ddb1f0c9c0fd608b97d45/lib/libc/string/strlcat.c.

G_strlcat() is a safer alternative to strcat().



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list