aboutsummaryrefslogtreecommitdiff
path: root/src/environment.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-06-21 12:49:45 -0400
committerGitHub <noreply@github.com>2024-06-21 12:49:45 -0400
commit77a0276d9f37bcf828c77f9bcc59ff945116274e (patch)
tree91cf7cb955798ad40718341172b0a8ffbc59a1f2 /src/environment.c
parent931ee28eb9c5b5e3c2b0d3008f5f65d810dc9b0c (diff)
downloadstasis-77a0276d9f37bcf828c77f9bcc59ff945116274e.tar.gz
Rebrand OhMyCal (OMC) as STASIS (#7)
Diffstat (limited to 'src/environment.c')
-rw-r--r--src/environment.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/environment.c b/src/environment.c
index 824b447..924fbf8 100644
--- a/src/environment.c
+++ b/src/environment.c
@@ -70,7 +70,7 @@ void runtime_export(RuntimeEnv *env, char **keys) {
NULL,
};
- char output[OMC_BUFSIZ];
+ char output[STASIS_BUFSIZ];
char export_command[7]; // export=6 and setenv=6... convenient
char *_sh = getenv("SHELL");
char *sh = path_basename(_sh);
@@ -290,9 +290,9 @@ char *runtime_expand_var(RuntimeEnv *env, char *input) {
return input;
}
- expanded = calloc(OMC_BUFSIZ, sizeof(char));
+ expanded = calloc(STASIS_BUFSIZ, sizeof(char));
if (expanded == NULL) {
- SYSERROR("could not allocate %d bytes for runtime_expand_var buffer", OMC_BUFSIZ);
+ SYSERROR("could not allocate %d bytes for runtime_expand_var buffer", STASIS_BUFSIZ);
return NULL;
}