- Enhanced split algorithm to be non-destrutive, and therefore faster

- Added autoconf testing to detect Solaris
- Added Solaris-specific flock implementation
This commit is contained in:
Paul Beckingham 2008-12-14 15:18:33 -05:00
parent 50ccb67185
commit 3d4beaf41f
5 changed files with 73 additions and 28 deletions

View file

@ -130,6 +130,15 @@ const char* optionalBlankLine (Config&);
int convertDuration (std::string&);
std::string expandPath (const std::string&);
#ifdef SOLARIS
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8
int flock (int, int);
#endif
// rules.cpp
void initializeColorRules (Config&);
void autoColorize (T&, Text::color&, Text::color&);