<div dir="ltr">Ok somehow after introducing the robustness in caeser cipher it is working correctly. Thanks. But the questions still remains why wasn't the data being written to the file previously ?<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><b style="font-size:small;font-family:arial"><font face="arial, helvetica, sans-serif" color="#000000">Kunal Baweja</font></b><br></div><img src="http://www.fractalink.com/downloads/color_strip_BITS.jpg"><br><div><div style="font-family:arial;font-size:small"><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif">Undergraduate B.E. (Hons.) Computer Science</span><br></div><div style="font-family:arial;font-size:small"><font face="arial, helvetica, sans-serif"><font color="#666666">Birla Institute Of Technology & Science, Pilani</font><br></font></div><div style="font-family:arial;font-size:small"><font color="#666666" face="arial, helvetica, sans-serif">K.K. Birla Goa Campus</font></div><div style="font-family:arial;font-size:small"><font color="#3d85c6" face="arial, helvetica, sans-serif" style="font-weight:bold">+91 9049655665</font></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Jan 30, 2015 at 7:31 PM, Kunal Baweja <span dir="ltr"><<a href="mailto:bawejakunal15@gmail.com" target="_blank">bawejakunal15@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok for the sake of correctness and robustness of caeser cipher I have made the suggested changes to it and the code is posted here: <a href="https://github.com/bawejakunal/wrapfs-caeser/blob/master/mmap.c" target="_blank">https://github.com/bawejakunal/wrapfs-caeser/blob/master/mmap.c</a> Now coming back to the actual problem can someone please help me as to why isn't the encrypted data being written to the files. The printk() statements do show me the encrypted data though.<br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><b style="font-size:small;font-family:arial"><font face="arial, helvetica, sans-serif" color="#000000">Kunal Baweja</font></b><br></div><img src="http://www.fractalink.com/downloads/color_strip_BITS.jpg"><br><div><div style="font-family:arial;font-size:small"><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif">Undergraduate B.E. (Hons.) Computer Science</span><br></div><div style="font-family:arial;font-size:small"><font face="arial, helvetica, sans-serif"><font color="#666666">Birla Institute Of Technology & Science, Pilani</font><br></font></div><div style="font-family:arial;font-size:small"><font face="arial, helvetica, sans-serif" color="#666666">K.K. Birla Goa Campus</font></div><div style="font-family:arial;font-size:small"><font style="font-weight:bold" face="arial, helvetica, sans-serif" color="#3d85c6">+91 9049655665</font></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Fri, Jan 30, 2015 at 7:05 PM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, 30 Jan 2015 13:17:10 +0000, Kunal Baweja said:<br>
<br>
> Obviously I am writing the encrypted data :-/<br>
<br>
</span>Just checking. You'd be *amazed* at how many times in the last 35 years<br>
of code hacking, I've asked questions like that and there's a 10 second<br>
pause before the person goes into Emily Litella mode... "Nevermind...".<br>
<br>
(For those who don't get it - <a href="https://screen.yahoo.com/weekend-emily-litella-violins-tv-000000080.html" target="_blank">https://screen.yahoo.com/weekend-emily-litella-violins-tv-000000080.html</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>