Home GnuPG
Diffusion GnuPG e3876f16eb23

gpgscm: Improve library functions.
e3876f16eb23Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpgscm: Improve library functions.

* tests/gpgscm/tests.scm (absolute-path?): New function.
(canonical-path): Use the new function.
* tests/gpgscm/lib.scm (string-split-pln): New function.
(string-indexp, string-splitp): Likewise.
(string-splitn): Express using the above function.
(string-ltrim, string-rtrim): Fix corner case.
(list->string-reversed): New function.
(read-line): Fix performance.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 16 2016, 12:02 PM
Parents
rGab3cdeb4414f: po: Update Japanese translation.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGe3876f16eb23: gpgscm: Improve library functions. (authored by Justus Winter <justus@g10code.com>).Dec 13 2016, 3:05 PM