[request-sponsor] opensolaris bug fix BUGID 6619664 Sun Contributor Agreement number is OS0144

2007-11-09 Thread ashwin
Hello Sir

i have Fixed the BUG ID 6619664 . cscope-fast was giving core dump
when home was unset. Now it is fixed. Please review it.My Sun
Contributor Agreement number is
OS0144

cscope-fast core dumps, when it's told to build the index and the HOME
is unset. Unsetting HOME could be considered as user error, but
cscope-fast is handling it more user friendly.


the url is http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6619664

the BUGID is 6619664 .I am attaching the diff file and the new file
usr/src/tools/cscope-fast/main.c file along with this.

Kindly do the needful

Thank you.



earlier is was
-bash-3.00$ unset HOME
-bash-3.00$ cscope-fast
Segmentation Fault (core dumped)


now it is made to give a friendly output
-bash-3.00$ unset HOME
-bash-3.00$ cscope-fast
HOME not set
-bash-3.00



--
Regards
Ashwin Bhat K S
3 year information technology
NATIONAL INSTITUTE OF TECHNOLOGY KARNATAKA Surathkal
Sun campus ambassador
99644 98351
-- next part --
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 42294 bytes
Desc: not available
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071109/bb4175c3/attachment.bin
-- next part --
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 454 bytes
Desc: not available
URL: 
http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071109/bb4175c3/attachment.obj


[request-sponsor] opensolaris bug fix BUGID 6619664 Sun Contributor Agreement number is OS0144

2007-11-09 Thread Jayakara Kini [HOME]


I'll take this sponsor request.

~Kini


On Fri, 9 Nov 2007 10:54 +0530, ashwin wrote:

}Hello Sir
}
}i have Fixed the BUG ID 6619664 . cscope-fast was giving core dump
}when home was unset. Now it is fixed. Please review it.My Sun
}Contributor Agreement number is
}OS0144
}
}cscope-fast core dumps, when it's told to build the index and the HOME
}is unset. Unsetting HOME could be considered as user error, but
}cscope-fast is handling it more user friendly.
}
}
}the url is http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6619664
}
}the BUGID is 6619664 .I am attaching the diff file and the new file
}usr/src/tools/cscope-fast/main.c file along with this.
}
}Kindly do the needful
}
}Thank you.
}
}
}
}earlier is was
}-bash-3.00$ unset HOME
}-bash-3.00$ cscope-fast
}Segmentation Fault (core dumped)
}
}
}now it is made to give a friendly output
}-bash-3.00$ unset HOME
}-bash-3.00$ cscope-fast
}HOME not set
}-bash-3.00
}
}
}
}

-- 
Sun Microsystems - India Engineering Centre
http://blogs.sun.com/jkini
+91-80-66927479