From b8a55a6b2be5b6156fc25540be9a33143b77cf82 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 2 Dec 2001 22:18:15 +0000 Subject: - Backup files should be produced according to the wide-spread "tilde suffix" convention. sc will also prepend a hash character which will make the backup files go out of common directory sort order. - A value such as 40 will be displayed wrongly if displayed with a "0.00 EUR" format (i.e. more than one or two characters alpha text after the number format). - 8-bit characters (according to usual locale conventions) should be allowed. PR: 32017 Submitted by: Helge Oldach --- math/sc/files/patch-ad | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 math/sc/files/patch-ad (limited to 'math/sc/files/patch-ad') 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) + { -- cgit v1.2.3