[issue1555] [PATCH] dma: changes for Linux compilation

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Oct 3 10:27:29 PDT 2009


Michel Salim (via DragonFly issue tracker) wrote:
- My simplistic definition of getprogname() -- is it safe to just make it always
  return "dma" ? Linux has no functional equivalent
No, you can't.  dma can also act as "mailq", and should do so if called 
with this name.  It seems that glibc provides program_invocation_short_name.

- substituting sizeof([ph]->sa) for [ph]->sa.ss_len
I'm not sure if this works properly.  I'll see what I can do.

Do let me know if there are any changes needed -- it'd be great to have DMA
working out-of-the-box on Linux. Also, are there any sample configuration files,
beyond the dma.8 documentation?
There is, but it is in the etc/ directory.  I will move it.

How do you intend to work with reallocf and strlcpy?  Should we include 
that in the dma directory, or is there another way of doing it?

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Bugs mailing list