Bug id :6640219
Synopsis:usr/src/cmd/csh/sh.h contains incorrect comment
Category:Subcategory                                                           
shell:cshell
Description                                                           Category
   shell
Sub-Category
   cshell
Description
   The header file sh.h states that the boolean pfcshflag is set to 0 for 
pfcsh.  This is incorrect, and should state 1.
Frequency
   Always
Regression
   No
Steps to Reproduce
   grep pfcshflag usr/src/cmd/csh/*
Examine each file which clearly shows that when csh is running as pfcsh, 
pfcshflag is set to 1.
Expected Result
   # grep pfcshflag usr/src/cmd/zsh/sh.h
usr/src/cmd/csh/sh.h:bool       pfcshflag;              /* set to 1 for pfcsh */
Actual Result
   # grep  pfcshflag usr/src/cmd/zsh/sh.h
usr/src/cmd/csh/sh.h:bool       pfcshflag;              /* set to 0 for pfcsh */
Error Message(s)
   N/A
Test Case
   N/A
Workaround
   N/A
Submitter wants to work on bug
   Yes
Additional configuration information
   N/A

 fix

--- sh.h.org    Thu Jan 24 18:58:11 2008
 +++ sh.h        Thu Jan 24 19:11:06 2008
         @@ -118,7 +118,7 @@
bool   neednote;               /* Need to pnotify() */
bool   noexec;                 /* Don't execute, just syntax check */
bool   pjobs;                  /* want to print jobs if interrupted */
-bool   pfcshflag;              /* set to 0 for pfcsh */
+bool   pfcshflag;              /* set to  1  for pfcsh */
bool   setintr;                /* Set interrupts  on/off -> Wait intr... */
bool   timflg;                 /* Time the next waited for command */
bool   havhash;                /* path hashing is available */
 

chinmayi

       
---------------------------------
 Get the freedom to save as many mails as you wish. Click here to know how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20080215/2abed3e1/attachment.html>

Reply via email to