summaryrefslogtreecommitdiff
path: root/math/calc/files/patch-lib_calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/calc/files/patch-lib_calc.c')
-rw-r--r--math/calc/files/patch-lib_calc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/math/calc/files/patch-lib_calc.c b/math/calc/files/patch-lib_calc.c
deleted file mode 100644
index 241bead76932..000000000000
--- a/math/calc/files/patch-lib_calc.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- lib_calc.c.orig Mon Feb 7 22:08:08 2000
-+++ lib_calc.c Mon Feb 7 22:10:42 2000
-@@ -407,9 +407,13 @@
- if (ent == NULL) {
- /* just assume . is home if all else fails */
- home = ".";
-+ } else {
-+ home = (char *)malloc(strlen(ent->pw_dir)+1);
-+ if (home == NULL)
-+ home = ".";
-+ else
-+ strcpy(home, ent->pw_dir);
- }
-- home = (char *)malloc(strlen(ent->pw_dir)+1);
-- strcpy(home, ent->pw_dir);
- }
-
- /* determine the $PAGER value */