[request-sponsor] BUg 6469178 clean up scp.c and make it cstyle clean

2008-01-08 Thread Jayakara Kini

Hi Rishi,

This bug has a Responsible Engineer.
Please do not spend cycles on this bug.

~Kini


On Mon, 7 Jan 2008 23:06 -, Rishi M Nair wrote:

}Hi ,
}
}I would like to work on the bug :6469178 and will finish working on it
}within 1 week.
}Bug ID  6469178
}Synopsis  clean up scp.c and make it cstyle clean
}Category:Subcategory  ssh:commands
}My SCA number is  : OS0148
}My opensolaris id : rishios
}
} sir i also like to know more about *cstyle clean*
}
}Thanks  Regards,
}Rishi M Nair
}

-- 
Sun Microsystems - India Engineering Centre
http://blogs.sun.com/jkini



[request-sponsor] Fix ready for Bug ID 6355611

2008-01-08 Thread Souvik Das Gupta
Hello

Here is the 'diff -u' output of the fix:


--- fmt.c.orig  Fri Jan  4 01:43:17 2008
+++ fmt.c   Sat Jan  5 12:20:48 2008
@@ -53,6 +53,7 @@
 wchar_toutbuf[BUFSIZ]; /* Sandbagged output line image 
*/
 wchar_t*outp;  /* Pointer in above */
 intfiller; /* Filler amount in outbuf */
+char sobuf[BUFSIZ];/* Global buffer - Correction to Bug 
6355611 */
 
 intpfx;/* Current leading blank count */
 intwidth = 72; /* Width that we will not exceed */
@@ -115,7 +116,6 @@
 main(int argc, char **argv)
 {
FILE *fi;
-   char sobuf[BUFSIZ];
char *cp;
int nofile;
char *locale;

 
I have tested the compiled fmt command for giving out a formatted output of a 
text file. It works perfectly fine.

Regards
Souvik Das Gupta
 
 
This message posted from opensolaris.org