All of lore.kernel.org
 help / color / mirror / Atom feed
* feature request: archivedir setting
@ 2008-01-03  2:13 Robin H. Johnson
  2008-01-03  7:07 ` Mads Martin Joergensen
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Robin H. Johnson @ 2008-01-03  2:13 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

I'm writing this email, in the hope that somebody else has already
implemented what I'm interested in.

I'd like a tunable to specify what directory to use for the archive.

If nobody else has done it, I think it should be trivial to implement,
generally following this pseudo-code:

Existing:
archivename = concatstr(3, listdir, "/archive/", buf);

New:
char* archivedir = get_archivedir(listdir);
archivename = concatstr(3, archivedir, buf);
char* get_archivedir(listdir) {
	archivedir = <$listdir/control/archivedir>;
	return archivedir if archivedir;
	return "$listdir/archive/";
}

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@gentoo.org
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 329 bytes --]

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

end of thread, other threads:[~2008-01-04 17:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03  2:13 feature request: archivedir setting Robin H. Johnson
2008-01-03  7:07 ` Mads Martin Joergensen
2008-01-03 19:00 ` Robin H. Johnson
2008-01-03 19:21 ` Mads Martin Joergensen
2008-01-03 19:58 ` Mads Martin Joergensen
2008-01-04  9:10 ` Morten K. Poulsen
2008-01-04 17:47 ` Neale Pickett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.