Bug 3

Summary: config dumps core on this config file
Product: Base System Reporter: Dave Evans <root>
Component: confAssignee: FreeBSD Core Team <core>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Dave Evans 1994-09-16 02:50:09 UTC
	The enclosed GENERICAH file makes config dump core after displaying
	a syntax error. 
	The syntax error may be correct or even a new feature. Dumping 
	core on a syntax error probably isn't.
	I have added an extra root drive sd1.  freebsd-1.0 
	would let me set up a kernel for multiple root drives.

Fix: 

Only use one root drive for the time being.
How-To-Repeat: 	Decode the enclosed file.
	$ cd /usr/src/sys/i386/conf
	$ config GENERICAHcoredump

begin 644 GENERICAHcoredump.gz
M'XL(",%>>2X"`T=%3D5224-!2&-O<F5D=6UP`)56;6_B.!#^''[%"/;#G;1M
MXT`I76FUHKRT7'D3%.WN)Q0<T_H(<2YV&OCW-T[("R&M[A`BMN=YGIFQ9QP:
MM08\#J:#Q:C7?8*K*WAD'@LXA;U-W[C'(.+J#7[V;[I/AYMI;P%;>\_=(SA<
M[F2M46L87T;.MUSBZSN0ZQ8!<G_?NC'O\0N6]8U8WYIMH/(U@,'!AR](K)T<
M&$:=-SOM>HWZ(8Y'.%[WYJMLWBK-;],Y=YBG#"/S[/S-4/,02A9(@YBU6D/X
MB@M/&L:D^_*T'DQ6X^[+P#`:R]#W1:!@*P(X=.Z`[4/7UM!:QAA-!R\&0D>>
M8@&.(Q'LN/=:T'Q$K9_=WQKT)*0"+L&&1UNQR#["'R@=V8$CP;?ICBGY9RX]
M'"XUZ8$%.^:R(PQM9`^YRV!YE(KM<^0X08[%:[5]DM@G;"^"XQDD#W.:8*9,
MZ12J=>:+62^!S0-!F935L.?!XJ3VS`*/N=6H87^P[&E0;.TS20/N*]SI:M>S
MQ4MW'+O&$[$_T%Q-1[.I!JT\7*C&3%?CTW[IT0<ZD^X\P:Q&?9C8?C6LWNO?
MM]MF'7&]/HR6,SW[(-O1<&:42DJOP1;1LB@YF\R[+^M6,U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)V;;R65R!+YDH2.N3IOF"N&7EAA>`\$%[+6T
C(EW#.E\"`-_W07]*%L-71X.TRPH^L_$U7/L7@_(`?E@-``"7
`
end
Comment 1 Garrett Wollman freebsd_committer freebsd_triage 1994-11-23 20:36:40 UTC
State Changed
From-To: open->closed

Fixed by rev. 1.4 of config/config.y.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-09-28 20:49:57 UTC
A commit references this bug:

Author: ache
Date: Wed Sep 28 20:49:33 UTC 2016
New revision: 306414
URL: https://svnweb.freebsd.org/changeset/base/306414

Log:
  MFC r306075,r306109

  1) Microoptimize %p case.
  2) Implememt %u for GNU compatibility.
  3) Don't forget to advance buf for %w/%u.
  4) Fail with incomplete week (week 0) request and no such week in the
  year.
  5) Fix yday formula when Sunday requested and the week started from Monday.
  6) Fail with impossible yday for incomplete week (week 0) and direct %w/%u
  request.
  7) Shift yday/wday to the first day of the year, if incomplete week
  (week 0) requested and no %w/%u used.
  8) For already non-standard %z extension implement GNU compatible formats:
  +hh and -hh.
  9) Check for incorrect values for %z.

  PR:     212983 (case 3 only)

Changes:
_U  stable/10/
  stable/10/lib/libc/stdtime/strptime.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-09-28 20:54:01 UTC
A commit references this bug:

Author: ache
Date: Wed Sep 28 20:52:59 UTC 2016
New revision: 306415
URL: https://svnweb.freebsd.org/changeset/base/306415

Log:
  MFC r306075,r306109

  1) Microoptimize %p case.
  2) Implememt %u for GNU compatibility.
  3) Don't forget to advance buf for %w/%u.
  4) Fail with incomplete week (week 0) request and no such week in the
  year.
  5) Fix yday formula when Sunday requested and the week started from Monday.
  6) Fail with impossible yday for incomplete week (week 0) and direct %w/%u
  request.
  7) Shift yday/wday to the first day of the year, if incomplete week
  (week 0) requested and no %w/%u used.
  8) For already non-standard %z extension implement GNU compatible formats:
  +hh and -hh.
  9) Check for incorrect values for %z.

  PR:     212983 (case 3 only)

Changes:
_U  stable/11/
  stable/11/lib/libc/stdtime/strptime.c
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-09-28 20:55:04 UTC
A commit references this bug:

Author: ache
Date: Wed Sep 28 20:54:47 UTC 2016
New revision: 306416
URL: https://svnweb.freebsd.org/changeset/base/306416

Log:
  MFC r306075,r306109

  1) Microoptimize %p case.
  2) Implememt %u for GNU compatibility.
  3) Don't forget to advance buf for %w/%u.
  4) Fail with incomplete week (week 0) request and no such week in the
  year.
  5) Fix yday formula when Sunday requested and the week started from Monday.
  6) Fail with impossible yday for incomplete week (week 0) and direct %w/%u
  request.
  7) Shift yday/wday to the first day of the year, if incomplete week
  (week 0) requested and no %w/%u used.
  8) For already non-standard %z extension implement GNU compatible formats:
  +hh and -hh.
  9) Check for incorrect values for %z.

  PR:     212983 (case 3 only)

Changes:
_U  stable/9/
_U  stable/9/lib/
_U  stable/9/lib/libc/
_U  stable/9/lib/libc/stdtime/
  stable/9/lib/libc/stdtime/strptime.c
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-07-02 18:20:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd152219f70da0465ee12edb1feeae5e2f802c51

commit dd152219f70da0465ee12edb1feeae5e2f802c51
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-07-02 10:11:36 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-07-02 18:19:02 +0000

    Mk: ghostscript: modernize

    - add support for GhostScript 10
    - bump versions for dependency lines
    - 9 and agpl are synonymous, represent this in the Makefile

    PR:             270989 (point 3 + 5)
    Reported by:    Chad Jacob Milios <milios@ccsys.com> (original)
    Continued work: Michael Osipov <michael.osipov@siemens.com>
    Reviewed by:    diizzy
    MFH:            2023Q3

 Mk/Uses/ghostscript.mk     | 43 +++++++++++++++++++++++++++----------------
 Mk/bsd.default-versions.mk |  2 +-
 2 files changed, 28 insertions(+), 17 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-07-02 18:44:35 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=afa132c39bad7dc75f8f8bcb2e7051434643afd7

commit afa132c39bad7dc75f8f8bcb2e7051434643afd7
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-07-02 10:11:36 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-07-02 18:43:17 +0000

    Mk: ghostscript: modernize

    - add support for GhostScript 10
    - bump versions for dependency lines
    - 9 and agpl are synonymous, represent this in the Makefile

    PR:             270989 (point 3 + 5)
    Reported by:    Chad Jacob Milios <milios@ccsys.com> (original)
    Continued work: Michael Osipov <michael.osipov@siemens.com>
    Reviewed by:    diizzy
    MFH:            2023Q3

    (cherry picked from commit dd152219f70da0465ee12edb1feeae5e2f802c51)

 Mk/Uses/ghostscript.mk     | 43 +++++++++++++++++++++++++++----------------
 Mk/bsd.default-versions.mk |  2 +-
 2 files changed, 28 insertions(+), 17 deletions(-)