Commit Graph

3 Commits

Author SHA1 Message Date
58c383dd91
Introduce crealpath
crealpath (for "custom realpath") is a custom implementation of
realpath(3) that aims to work similarly to GNU's realpath(1). This
implementation is provided due to the following reasons:

- Future commits will require extracting an absolute path from a
  relative path, and/or process relative components from a path, such as
".." or ".".
- realpath(3) is defined by POSIX.1-2008 as a XSI extension, and
  extensions are generally avoided in this repository whenever possible.
- Additionally, realpath(3) requires the file or directory pointed to by
the path to exist, which might not always be the case for slcl.
- auth.c uses its own implementation to extract a dynamically allocated
string by repeatedly calling getcwd(3). Future commits will also
require this future, so it makes sense to keep it on a separate
component.
2023-11-24 01:54:11 +01:00
d9d1811f89
configure: Fix typo
slweb was renamed to libweb some time ago:

commit 28ae865e5e
Author: Xavier Del Campo Romero <xavi.dcr@tutanota.com>
Date:   Tue Oct 10 23:43:47 2023 +0200

    Apply slweb renaming to libweb
2023-11-24 01:52:52 +01:00
6fa38f4d83
Replace handwritten Makefile with configure script 2023-10-25 22:13:23 +02:00