summaryrefslogtreecommitdiff
path: root/math/sc/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'math/sc/files/patch-ad')
-rw-r--r--math/sc/files/patch-ad19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/sc/files/patch-ad b/math/sc/files/patch-ad
new file mode 100644
index 000000000000..bd9f44f41859
--- /dev/null
+++ b/math/sc/files/patch-ad
@@ -0,0 +1,19 @@
+--- cmds.c.orig Mon May 11 20:43:34 1992
++++ cmds.c Wed Feb 16 21:55:06 2000
+@@ -1800,14 +1800,14 @@
+ int infd, outfd;
+ int count;
+
+- /* tpath will be the [path/]file ---> [path/]#file~ */
++ /* tpath will be the [path/]file ---> [path/]file~ */
+ strcpy(tpath, path);
+ if ((tpp = strrchr(tpath, '/')) == NULL)
+ tpp = tpath;
+ else
+ tpp++;
+ strcpy(fname, tpp);
+- (void) sprintf(tpp, "#%s~", fname);
++ (void) sprintf(tpp, "%s~", fname);
+
+ if (stat(path, &statbuf) == 0)
+ {