[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c library for handling backup files?
From: |
Philip Kaludercic |
Subject: |
Re: c library for handling backup files? |
Date: |
Wed, 21 Sep 2022 13:06:11 +0000 |
"Alfred M. Szmidt" <ams@gnu.org> writes:
> Does anyone know of a C library for handling Emacs-like backup files?
> E.g., if writing a file, the function would do the right thing.
>
> And all the other nice things that come with Emacs.
I know that GNU Indent uses a similar backup system, and looking at
their backup code[0] it seems fairly self-contained. Perhaps it could
be extracted into a separate library?
[0] https://git.savannah.gnu.org/cgit/indent.git/tree/src/backup.c