welcome - welcome - a terminal program which always greets you

git clone git://git.bcharge.de/welcome.git

About | Log | Files | Refs | License

commit 45d357e410024113a778dd18a174728673d152fc
parent b4477a9dd1271f6f2963cf42c44dcdff61c46a4b
Author: Bakar Chargeishvili <bakar@bcharge.de>
Date:   Thu, 28 Dec 2023 14:07:43 +0100

Rename pipe() to avoid the clash with libcurl 8.5.0

Diffstat:
Mwelcome.c | 8++++----
Dwelcome.core | 0
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/welcome.c b/welcome.c @@ -65,7 +65,7 @@ int curl(char* input, string* output) return 0; } -int pipe(char* input, char* output) { +int syspipe(char* input, char* output) { //char buf[11500] = {0}; char* buf = output; @@ -159,9 +159,9 @@ int main() curl("wttr.in/?format=%w",&wind); curl("wttr.in/?format=%p",&precip); curl("wttr.in/?format=%S%20-%20%s",&sunlife); - pipe("calcurse -r7 --format-apt='- %S -> %E %m\n' --output-datefmt=\"%B %d, %Y\"",events); - pipe("date '+%B %d, %Y' | tr -d '\n'",today); - pipe("cat skull",skull); + syspipe("calcurse -r7 --format-apt='- %S -> %E %m\n' --output-datefmt=\"%B %d, %Y\"",events); + syspipe("date '+%B %d, %Y' | tr -d '\n'",today); + syspipe("cat skull",skull); if(events[0]=='\0') strcpy(events,"🎉 Looks like you have not planned anything 🎉\n" ); diff --git a/welcome.core b/welcome.core Binary files differ.