Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45581 Details for
Bug 73858
sys-apps/ed produces incorrect output (bug 66400 redux)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dotest.sh
dotest.sh (text/plain), 607 bytes, created by
Robin Johnson
on 2004-12-08 18:28:24 UTC
(
hide
)
Description:
dotest.sh
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2004-12-08 18:28:24 UTC
Size:
607 bytes
patch
obsolete
>#!/bin/sh >F1=/tmp/testfile.working >F2=/tmp/testfile.broken > >showcontents() { > f="$1" > echo -e "Contents of $f\n---" > cat $f > echo "---" >} >echo "Compiling binaries" >g++ -Wall edtest.cpp -o edtest.working -DWORKING >g++ -Wall edtest.cpp -o edtest.broken > >echo "### Input to working binary" >echo hello >$F1 >showcontents $F1 >echo "### Running working binary" >./edtest.working $F1 >echo "### Output from working binary" >showcontents $F1 > > >echo "### Input to broken binary" >echo hello >$F2 >showcontents $F2 >echo "### Running broken binary" >./edtest.broken $F2 >echo "### Output from broken binary" >showcontents $F2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 73858
:
45580
| 45581