Project

General

Profile

Actions

Bug #637

closed

nawk coredumps on -d

Added by Yuri Pankov about 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
cmd - userland programs
Start date:
2011-01-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

$ /usr/bin/nawk -d
awk version Oct 11, 1989
/usr/bin/nawk: no program given
Abort (core dumped)

The fix is quite straightforward (attached).


Files

nawk-d.patch (482 Bytes) nawk-d.patch Yuri Pankov, 2011-01-16 02:42 PM
Actions #1

Updated by Roland Mainz about 11 years ago

Thanks for filing the bug.
I'll look at this later today...

Actions #2

Updated by Roland Mainz about 11 years ago

  • Assignee set to Roland Mainz

Taking bug...
... webrev will follow...

Actions #3

Updated by Roland Mainz almost 11 years ago

  • % Done changed from 0 to 40
Actions #4

Updated by Roland Mainz almost 11 years ago

  • % Done changed from 40 to 60

Build comes today... sorry for the delay... ;-(

Actions #5

Updated by Jörg Schilling almost 11 years ago

Why do you like to "fix" intentional behavoir?

It is pretty obvious that nawk -d is expected to core dump in this case in order to allow debugging.

Actions #6

Updated by Yuri Pankov almost 11 years ago

It is fixed in the same way in newer nawk versions (http://www.cs.princeton.edu/~bwk/btl.mirror/).

Actions #7

Updated by Garrett D'Amore almost 11 years ago

  • Assignee changed from Roland Mainz to Yuri Pankov
  • % Done changed from 60 to 100

Resolved in:

changeset: 13284:fcadd752253e
tag: tip
user: Yuri Pankov <>
date: Wed Feb 09 11:52:15 2011 -0800
description:
637 nawk coredumps on -d
Reviewed by: Olga Kryzhanovska <>
Reviewed by: Roland Mainz <>
Reviewed by: Garrett D'Amore <>
Approved by: Garrett D'Amore <>

Actions #8

Updated by Garrett D'Amore almost 11 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF