-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2011-03-12 at 19:27 -0300, Cristian Rodríguez wrote:
El 12/03/11 18:56, Carlos E. R. escribió:
All right, that's much better , if you add some proper error checking, there is a cookie waiting for you ;-P
:-) I added a verification for file existence, that's all. Any problem more I'll learn about in the cron mail.
Just remember, whatever named file/directory you want to open/create/read/write/delete from /tmp or other volatile place must be created 99% of the time with mktemp or the equivalent in your favorite language, otherwise, you are doing it _wrong_ and $deity will kill a kitten ;-)
Ok, I like kittens, so I'll be careful :-p There are many things that as a programmer I never had to think about. I never programmed for a multitasking or multiuser environment, not even networked. Security (of that sort) never was my concern. Nowdays I only write small things for myself. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAk19OuIACgkQtTMYHG2NR9VlcwCfc80FszIuQRY7w44SrxXpDqVQ sfUAniB0Qx5NP4+6JCsHU1nTpv+wY3hs =Tnpz -----END PGP SIGNATURE-----