DragonFly BSD
DragonFly bugs List (threaded) for 2009-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 03 Oct 2009 19:26:42 +0200

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   / \



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]