* When using localtime_r(), you might have to call tzset() yourself (the exact

behaviour is not specified in POSIX). This fixes Mail sometimes not having
  the correct timezone.
* Since it's not specified, we might want to do that always on libroot init?
  We could introduce a syscall that keeps the already parsed data, if there
  isn't already to make this cheap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33608 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-10-16 09:16:17 +00:00
parent ec2719329c
commit 98b4079944

View File

@ -97,20 +97,9 @@ static const char *kExact = ".exact";
static const char *kMetaphone = ".metaphone";
// #pragma mark -
int
main()
{
TMailApp().Run();
return B_OK;
}
// #pragma mark -
TMailApp::TMailApp()
: BApplication("application/x-vnd.Be-MAIL"),
:
BApplication("application/x-vnd.Be-MAIL"),
fWindowCount(0),
fPrefsWindow(NULL),
fSigWindow(NULL),
@ -137,7 +126,8 @@ TMailApp::TMailApp()
fReplyPreamble[0] = '\0';
fMailWindowFrame.Set(0, 0, 0, 0);
fSignatureWindowFrame.Set(6, TITLE_BAR_HEIGHT, 6 + kSigWidth, TITLE_BAR_HEIGHT + kSigHeight);
fSignatureWindowFrame.Set(6, TITLE_BAR_HEIGHT, 6 + kSigWidth,
TITLE_BAR_HEIGHT + kSigHeight);
fPrefsWindowPos.Set(6, TITLE_BAR_HEIGHT);
// Find and read settings file.
@ -1252,3 +1242,15 @@ TMailApp::ContentFont()
return fContentFont;
}
// #pragma mark -
int
main()
{
tzset();
TMailApp().Run();
return B_OK;
}