GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Leah Neukirchen (leah@blahaj.social)'s status on Sunday, 07-Sep-2025 07:16:38 JST Leah Neukirchen Leah Neukirchen
    in reply to
    • Tim Chase

    @gumnos "applications should not depend on random filespec values standing for UTC, as TZ formats may be extended in the future."

    In conversation about 10 months ago from blahaj.social permalink
    • Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Tim Chase (gumnos@mastodon.bsd.cafe)'s status on Sunday, 07-Sep-2025 07:16:39 JST Tim Chase Tim Chase

      Today in POSIX fun courtesy of the remind(1) mailing-list (slightly modified for broader understandability):

      ⸻
      [There's] no way to know if you use a valid time zone name. That's because the POSIX API for setting a timezone is (I kid you not...):

      /* why use "UTC" when you can be in the Banana timezone*/
      const char* zone_name = "banana";
      setenv("TZ", zone_name, 1);
      tzset();

      and tzset() returns void...there's no possible error return from tzset()...not even errno. This is not one of POSIX's shining moments.
      ⸻

      🍌

      In conversation about 10 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.