]> Savannah Git Hosting - gnulib.git/commit
canonicalize: simplify via scratch_buffer_dupfree
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 Dec 2020 19:38:58 +0000 (11:38 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 28 Dec 2020 20:56:47 +0000 (12:56 -0800)
commit994b1736dba4d59c9c0a9c3142987470b83dcf16
tree84ed81b435ff9d6daa011e190bc599dc1311fdcc
parentbbaba6ce591b94c8fca491f4ef019187cd171521
canonicalize: simplify via scratch_buffer_dupfree

* config/srclist.txt: Adjust accordingly.
* lib/canonicalize-lgpl.c (realpath_stk):
* lib/canonicalize.c (canonicalize_filename_mode_stk):
Simplify by using scratch_buffer_dupfree.
* lib/malloc/scratch_buffer.h (scratch_buffer_dupfree): New function.
* lib/malloc/scratch_buffer_dupfree.c: New file.
* modules/scratch_buffer (Files, Depends-on):
Add malloc/scratch_buffer_dupfree.c.
ChangeLog
config/srclist.txt
lib/canonicalize-lgpl.c
lib/canonicalize.c
lib/malloc/scratch_buffer.h
lib/malloc/scratch_buffer_dupfree.c [new file with mode: 0644]
modules/scratch_buffer