aboutsummaryrefslogtreecommitdiff
path: root/core/ed.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core/ed.c: Prototype printUsage and print_errorRunxi Yu2024-07-271-2/+2
| | | | | | | | | print_error() was declared as "void print_error();" but defined with parameters "const char *error, int help_mode". Declarations without prototypes are unsupported. printUsage also gains "void" as its prototype in this commit, just to be explicit.
* core/ed.c: Initialize filedes to -1Runxi Yu2024-07-271-4/+4
| | | | Signed-off-by: Runxi Yu <me@runxiyu.org>
* treewide: readd copyrightsFerass El Hafidi2023-04-101-0/+3
| | | | Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
* core/*: Return errprint.Ferass El Hafidi2023-03-041-1/+1
| | | | Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
* all: use SPDX identifiers and add a new MAINTAINERS file.Ferass El Hafidi2023-02-161-28/+1
| | | | Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
* core/common.*: Move them somewhere else so they can be used by non-POSIX utilsFerass El Hafidi2023-01-111-3/+3
| | | | Signed-off-by: Ferass El Hafidi <vitali64pmemail@protonmail.com>
* *: Update Copyright dateFerass 'Vitali64' EL HAFIDI2023-01-051-1/+1
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* (happy new year!) sh: Fix compiler errors && core/: Move print_usage to ↵Ferass 'Vitali64' EL HAFIDI2023-01-051-6/+9
| | | | | | common.h and add errprint() Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* core/, Makefile, box: Get rid of version.h and use -DVERSION in CFLAGS instead.Ferass 'Vitali64' EL HAFIDI2022-12-251-6/+2
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* Makefile: Add more utilities in CORE && core/: Use one single function for ↵Ferass 'Vitali64' EL HAFIDI2022-12-041-2/+6
| | | | | | printing usage. Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* Relicense fases core under the 3BSD && Convert all manpages to scdoc && Link ↵Ferass 'Vitali64' EL HAFIDI2022-11-101-12/+23
| | | | | | to the new mailing list Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* core: Implement ed && Makefile: Add dirname and remove version.hFerass 'Vitali64' EL HAFIDI2022-10-261-0/+153
Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>