Skip to content

Conversation

@Nilsonfsilva
Copy link
Contributor

Hi!
As promised, here's the PR. Remembering that the changes were made starting with release 0.13.0.

Copy link
Owner

@osa1 osa1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are not right. time::now returns in local time zone. E.g. it returns 8:39 for me right now. now_utc returns in UTC, e.g. it returns 7:39 at the same time.

Is this patch being used right now in Debian? It would be unfortunate if you already shipped this.


match fcntl(libc::STDIN_FILENO, FcntlArg::F_SETFL(new_stdin_flags)) {
let stdin_fd = unsafe { std::os::fd::BorrowedFd::borrow_raw(libc::STDIN_FILENO) };
match fcntl(stdin_fd.as_raw_fd(), FcntlArg::F_SETFL(new_stdin_flags)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are unrelated. Are they needed to build tiny on Debian? Why?

Please revert them from this PR as they're not related to the time library.

tls_connector(sasl).connect(name.clone(), tcp_stream).await?
} else {
TLS_CONNECTOR.connect(name, tcp_stream).await?
TLS_CONNECTOR.connect(name.clone(), tcp_stream).await?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated changes in this file. Please revert the file.

@Nilsonfsilva
Copy link
Contributor Author

Nilsonfsilva commented Oct 18, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants