bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61833] gnulib module "posixcheck" reveals some defects


From: Bjarni Ingi Gislason
Subject: [bug #61833] gnulib module "posixcheck" reveals some defects
Date: Sun, 16 Jan 2022 13:20:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

URL:
  <https://savannah.gnu.org/bugs/?61833>

                 Summary: gnulib module "posixcheck" reveals some defects
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Sun 16 Jan 2022 06:20:00 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Subject: gnulib module "posixcheck" reveals some defects

  All warnings are in the attachment.

  The revealed types are

call to 'close' declared with attribute warning: close does not
portably work on sockets - use gnulib module close for portability
[-Wattribute-warning]

call to 'dup' declared with attribute warning: dup is unportable - use
gnulib module dup for portability [-Wattribute-warning]

call to 'execvp' declared with attribute warning: execvp behaves very
differently on mingw - use gnulib module execvp for portability
[-Wattribute-warning]

call to 'fclose' declared with attribute warning: fclose is not always
POSIX compliant - use gnulib module fclose for portable POSIX
compliance [-Wattribute-warning]

call to 'fdopen' declared with attribute warning: fdopen on native
Windows platforms is not POSIX compliant - use gnulib module fdopen for
portability [-Wattribute-warning]

call to 'fflush' declared with attribute warning: fflush is not always
POSIX compliant - use gnulib module fflush for portable POSIX
compliance [-Wattribute-warning]

call to 'fopen' declared with attribute warning: fopen on native
Windows platforms is not POSIX compliant - use gnulib module fopen for
portability [-Wattribute-warning]

call to 'freopen' declared with attribute warning: freopen on native
Windows platforms is not POSIX compliant - use gnulib module freopen
for portability [-Wattribute-warning]

call to 'fseek' declared with attribute warning: fseek cannot handle
files larger than 4 GB on 32-bit platforms - use fseeko function for
handling of large files [-Wattribute-warning]

call to 'ftell' declared with attribute warning: ftell cannot handle
files larger than 4 GB on 32-bit platforms - use ftello function for
handling of large files [-Wattribute-warning]

call to 'malloc' declared with attribute warning: malloc is not POSIX
compliant everywhere - use gnulib module malloc-posix for portability
[-Wattribute-warning]

call to 'nl_langinfo' declared with attribute warning: nl_langinfo is
not portable - use gnulib module nl_langinfo for portability
[-Wattribute-warning]

call to 'pclose' declared with attribute warning: pclose is unportable
- use gnulib module pclose for more portability [-Wattribute-warning]

call to 'perror' declared with attribute warning: perror is not always
POSIX compliant - use gnulib module perror for portability
[-Wattribute-warning]

call to 'pipe' declared with attribute warning: pipe is unportable -
use gnulib module pipe-posix for portability [-Wattribute-warning]

call to 'popen' declared with attribute warning: popen is buggy on some
platforms - use gnulib module popen or pipe for more portability
[-Wattribute-warning]

call to 'realloc' declared with attribute warning: realloc is not POSIX
compliant everywhere - use gnulib module realloc-posix for portability
[-Wattribute-warning]

call to 'strchr' declared with attribute warning: strchr cannot work
correctly on character strings in some multibyte locales - use mbschr
if you care about internationalization [-Wattribute-warning]

call to 'strerror' declared with attribute warning: strerror is
unportable - use gnulib module strerror to guarantee non-NULL result
[-Wattribute-warning]

call to 'strrchr' declared with attribute warning: strrchr cannot work
correctly on character strings in some multibyte locales - use mbsrchr
if you care about internationalization [-Wattribute-warning]

call to 'strsignal' declared with attribute warning: strsignal is
unportable - use gnulib module strsignal for portability
[-Wattribute-warning]

call to 'strtol' declared with attribute warning: strtol is unportable
- use gnulib module strtol for portability [-Wattribute-warning]

call to 'tmpfile' declared with attribute warning: tmpfile is not
usable on mingw - use gnulib module tmpfile for portability
[-Wattribute-warning]




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 16 Jan 2022 06:20:00 PM UTC  Name: posixcheck.bug  Size: 45KiB   By:
bjarniig

<http://savannah.gnu.org/bugs/download.php?file_id=52670>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61833>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]