This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  0170ba075cbad95e3574db3082bc1c0bc91ba6b6 (commit)
      from  c3a6b6430fbad5fa77272c4900d46e6d5221a570 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0170ba075cbad95e3574db3082bc1c0bc91ba6b6
Author: Diego Nieto Cid <[email protected]>
Date:   Sat Oct 4 20:40:22 2025 +0100

    daemons: fix unused results from functions
    
        ../../daemons/getty.c: In function 'main':
        ../../daemons/getty.c:184:3: warning: ignoring return value of 
'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
          184 |   asprintf (&ttyname, "%s/%s", _PATH_DEV, argv[2]);
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../../daemons/getty.c:186:3: warning: ignoring return value of 'chown' 
declared with attribute 'warn_unused_result' [-Wunused-result]
          186 |   chown (ttyname, 0, 0);
              |   ^~~~~~~~~~~~~~~~~~~~~
        ../../daemons/getty.c:188:3: warning: ignoring return value of 'revoke' 
declared with attribute 'warn_unused_result' [-Wunused-result]
          188 |   revoke (ttyname);
              |   ^~~~~~~~~~~~~~~~
        ../../daemons/getty.c:210:3: warning: ignoring return value of 
'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
          210 |   asprintf (&arg, "TERM=%s", tt ? tt->ty_type : "unknown");
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../../daemons/getty.c: In function 'print_banner':
        ../../daemons/getty.c:120:3: warning: ignoring return value of 'write' 
declared with attribute 'warn_unused_result' [-Wunused-result]
          120 |   write (fd, "\r\n", 2);
              |   ^~~~~~~~~~~~~~~~~~~~~
        ../../daemons/getty.c:125:7: warning: ignoring return value of 'write' 
declared with attribute 'warn_unused_result' [-Wunused-result]
          125 |       write (fd, s, t - s);
              |       ^~~~~~~~~~~~~~~~~~~~
        ../../daemons/getty.c:149:7: warning: ignoring return value of 'write' 
declared with attribute 'warn_unused_result' [-Wunused-result]
          149 |       write (fd, expansion, strlen (expansion));
              |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    =======================================================================
    
        ../../daemons/lmail.c: In function 'deliver':
        ../../daemons/lmail.c:344:3: warning: ignoring return value of 
'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
          344 |   asprintf (&mbox, "%s/%s", params->mail_dir, rcpt);
              |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    =======================================================================
    
        ../../daemons/runttys.c: In function 'setup_terminal':
        ../../daemons/runttys.c:105:7: warning: ignoring return value of 
'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
          105 |       asprintf (&line, "%s %s", tt->ty_getty, tt->ty_name);
              |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        ../../daemons/runttys.c: In function 'shutdown_terminal':
        ../../daemons/runttys.c:323:3: warning: ignoring return value of 
'revoke' declared with attribute 'warn_unused_result' [-Wunused-result]
          323 |   revoke (t->name);
              |   ^~~~~~~~~~~~~~~~
    Message-ID: <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 daemons/getty.c   | 54 ++++++++++++++++++++++++++++++++++++++++++++++--------
 daemons/lmail.c   |  6 +++---
 daemons/runttys.c |  8 +++++---
 3 files changed, 54 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Hurd

Reply via email to