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
    :umu: :umu: (a1ba@suya.place)'s status on Tuesday, 10-Jun-2025 23:14:13 JST :umu: :umu: :umu: :umu:
    ```
    fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);

    nostdout = Cvar_Get("nostdout", "0", 0);
    if (!nostdout->value) {
    fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);
    }
    ```

    I'm thinking about this piece of code present in Quake 2 but not in Quake III too much.

    What did they wanted to say...
    In conversation about 5 months ago from suya.place permalink
    • Embed this notice
      TTimo (ttimo@mastodon.social)'s status on Tuesday, 10-Jun-2025 23:14:11 JST TTimo TTimo
      in reply to

      @a1ba so someone goofed of course, but maybe the original version was meant to either close stdout (redirect to /dev/null), or put stdin into non blocking to essentially make a console out of your terminal.

      In conversation about 5 months ago permalink
    • Embed this notice
      TTimo (ttimo@mastodon.social)'s status on Tuesday, 10-Jun-2025 23:14:11 JST TTimo TTimo
      in reply to

      @a1ba the quake 3 code had a lot of goofy stuff and sharp edges, when id passed it over to me I spent the first few months cleaning up compiler warnings.

      It was a good way to familiarize with it, but I don't remember running into this.

      In conversation about 5 months ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        http://warnings.It/
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      TTimo (ttimo@mastodon.social)'s status on Tuesday, 10-Jun-2025 23:14:12 JST TTimo TTimo
      in reply to

      @a1ba most interesting! And I assume there is no good version of this in quake 1 either? But it can be found in common code?

      In conversation about 5 months ago permalink
    • Embed this notice
      Daniel Gibson (doomed_daniel@mastodon.gamedev.place)'s status on Friday, 13-Jun-2025 07:50:07 JST Daniel Gibson Daniel Gibson
      in reply to
      • TTimo

      @TTimo @a1ba
      > I spent the first few months cleaning up compiler warnings

      the universal experience of throwing code written in Visual Studio at a real compiler :-D

      In conversation about 5 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.

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.