minimal-config changes; $"..." support is now a configuration option

This commit is contained in:
Chet Ramey
2021-12-01 16:40:52 -05:00
parent fffe80d438
commit 006856edf6
19 changed files with 136 additions and 26 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
/* Copyright (C) 1991-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
+17
View File
@@ -1,3 +1,20 @@
/*
Copyright (C) 2021 Free Software Foundation, Inc.
This file is part of GNU Bash.
Bash is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Bash is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Bash. If not, see <http://www.gnu.org/licenses/>.
*/
/* getconf.h -- replacement definitions for ones the system doesn't provide
and don't appear in <typemax.h> */
+1 -1
View File
@@ -91,7 +91,7 @@ parse_gnutimefmt (char *string, long *sp, long *up)
/* multiply the accumulated value by the multiplier */
t = accumusec * mult;
accumsec = accumsec * mult + t / 1000000;
accumsec = accumsec * mult + (t / 1000000);
accumusec = t % 1000000;
/* add to running total */