diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2001-12-04 21:31:54 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2001-12-04 21:31:54 +0000 |
commit | f54d549681b259e6d25033b59c5885f9643ed34f (patch) | |
tree | 41a05e12a1f1f0ed5b28bfc65734cf670e5f42ad /shells/ksh93/files | |
parent | 379aa5ef1f70f8520268c71bf14fd2ca7ccd7496 (diff) | |
download | ports-f54d549681b259e6d25033b59c5885f9643ed34f.tar.gz ports-f54d549681b259e6d25033b59c5885f9643ed34f.zip |
Notes
Diffstat (limited to 'shells/ksh93/files')
-rw-r--r-- | shells/ksh93/files/patch-src_lib_libast_sfio_sfhdr.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/ksh93/files/patch-src_lib_libast_sfio_sfhdr.h b/shells/ksh93/files/patch-src_lib_libast_sfio_sfhdr.h new file mode 100644 index 000000000000..9e153615b13b --- /dev/null +++ b/shells/ksh93/files/patch-src_lib_libast_sfio_sfhdr.h @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- src/lib/libast/sfio/sfhdr.h.orig Tue Dec 4 21:58:08 2001 ++++ src/lib/libast/sfio/sfhdr.h Tue Dec 4 21:58:52 2001 +@@ -521,8 +521,8 @@ + #define SFSETLOCALE(dp,tp) \ + do if (*(dp) == 0) { \ + Lc_numeric_t* lv = (Lc_numeric_t*)LCINFO(AST_LC_NUMERIC)->data; \ +- *(dp) = lv->decimal; \ +- *(tp) = lv->thousand; \ ++ *(dp) = lv ? lv->decimal : '.'; \ ++ *(tp) = lv ? lv->thousand: '\0'; \ + } while (0) + #else + #if _lib_locale |