diff options
author | steve <steve@FreeBSD.org> | 2001-12-02 22:18:15 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-12-02 22:18:15 +0000 |
commit | 015a5eacb14b465935d5c3b6ab7b2759b3e2b9b3 (patch) | |
tree | 7bd9268c30704a0328351db29e0f520317d4fb87 /math | |
parent | d24490a6dc7458bc3b6d090cc3ba5511b983c92a (diff) | |
download | FreeBSD-ports-015a5eacb14b465935d5c3b6ab7b2759b3e2b9b3.zip FreeBSD-ports-015a5eacb14b465935d5c3b6ab7b2759b3e2b9b3.tar.gz |
- 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 <send-pr@oldach.net>
Diffstat (limited to 'math')
-rw-r--r-- | math/sc/files/patch-ab | 13 | ||||
-rw-r--r-- | math/sc/files/patch-ad | 19 | ||||
-rw-r--r-- | math/sc/files/patch-ae | 10 |
3 files changed, 40 insertions, 2 deletions
diff --git a/math/sc/files/patch-ab b/math/sc/files/patch-ab index 44fa4f2..fe36e0c 100644 --- a/math/sc/files/patch-ab +++ b/math/sc/files/patch-ab @@ -1,5 +1,5 @@ ---- lex.c.orig Mon May 11 20:43:36 1992 -+++ lex.c Thu Jul 30 20:26:51 1998 +--- lex.c.orig Mon May 11 13:43:36 1992 ++++ lex.c Sun Dec 2 15:23:46 2001 @@ -384,11 +384,11 @@ ctl('z'), 0 }; @@ -14,3 +14,12 @@ } void +@@ -493,7 +493,7 @@ + if (dumpindex && *dumpindex) + return (*dumpindex++); + +- c = toascii(getchar()); ++ c = getchar(); + biggest = 0; + almost = 0; + diff --git a/math/sc/files/patch-ad b/math/sc/files/patch-ad new file mode 100644 index 0000000..bd9f44f4 --- /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) + { diff --git a/math/sc/files/patch-ae b/math/sc/files/patch-ae new file mode 100644 index 0000000..b45d56d --- /dev/null +++ b/math/sc/files/patch-ae @@ -0,0 +1,10 @@ +--- format.c.orig Mon May 11 20:43:34 1992 ++++ format.c Sat Dec 9 21:24:41 2000 +@@ -263,7 +263,6 @@ + break; + } + } +- zero_pad = strlen(decimal) - zero_pad; + } + (void) sprintf(prtfmt, "%%.%dlf", width); + (void) sprintf(mantissa, prtfmt, val); |