public inbox for mlmmj@mlmmj.org
 help / color / mirror / Atom feed
* [mlmmj] [PATCH 00 of 10] mlmmj-maintd.c tweaks
@ 2011-01-27 22:59 Richard Mortimer
  2011-01-28 17:24 ` Ben Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Mortimer @ 2011-01-27 22:59 UTC (permalink / raw)
  To: mlmmj

All,

As mentioned the other day here are a number of patches against 
mlmmj-maintd.c that fix relatively minor issues. I haven't attempted 
to make any changes outside of this one file but intend to look at those 
over the coming month or two as time allows.

I have also spotted a couple of other issues that I haven't addressed yet. 
The first is the fact that unlink calls never have their error status 
checked. I was thinking about introducing a myunlink() method that does 
the unlink and reports any error. That would help catch any permissions
problems. There is a potential that some of the files might not exist
in all situations (the -probe files for example) so it might not be
appropriate to log an error in all circumstances.

Also there are a couple of places in mlmmj-maintd.c where it doesn't find 
the contents of the files that it expects. It just carries onto the next 
file without logging an error.

Review comments most welcome.

Regards

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-17 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-27 22:59 [mlmmj] [PATCH 00 of 10] mlmmj-maintd.c tweaks Richard Mortimer
2011-01-28 17:24 ` Ben Schmidt
2012-01-17 14:08 ` Ben Schmidt
2012-01-17 18:06 ` Richard Mortimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox