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 ?
Kunal Baweja
Undergraduate B.E. (Hons.) Computer Science
Birla Institute Of Technology & Science, Pilani
K.K. Birla Goa Campus
+91 9049655665
On Fri, Jan 30, 2015 at 7:31 PM, Kunal Baweja <bawejakunal15@xxxxxxxxx> wrote:
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: https://github.com/bawejakunal/wrapfs-caeser/blob/master/mmap.c 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.Kunal BawejaUndergraduate B.E. (Hons.) Computer ScienceBirla Institute Of Technology & Science, PilaniK.K. Birla Goa Campus+91 9049655665On Fri, Jan 30, 2015 at 7:05 PM, <Valdis.Kletnieks@xxxxxx> wrote:On Fri, 30 Jan 2015 13:17:10 +0000, Kunal Baweja said:
> Obviously I am writing the encrypted data :-/
Just checking. You'd be *amazed* at how many times in the last 35 years
of code hacking, I've asked questions like that and there's a 10 second
pause before the person goes into Emily Litella mode... "Nevermind...".
(For those who don't get it - https://screen.yahoo.com/weekend-emily-litella-violins-tv-000000080.html
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies