Project

General

Profile

Bug #637

nawk coredumps on -d

Added by Yuri Pankov over 9 years ago. Updated over 9 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

History

#1

Updated by Roland Mainz over 9 years ago

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

#2

Updated by Roland Mainz over 9 years ago

  • Assignee set to Roland Mainz

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

#3

Updated by Roland Mainz over 9 years ago

  • % Done changed from 0 to 40
#4

Updated by Roland Mainz over 9 years ago

  • % Done changed from 40 to 60

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

#5

Updated by Jörg Schilling over 9 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.

#6

Updated by Yuri Pankov over 9 years ago

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

#7

Updated by Garrett D'Amore over 9 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 <>

#8

Updated by Garrett D'Amore over 9 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF