imake: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Sep 24 16:25:18 UTC 2022


 .git-blame-ignore-revs |   16 ++++++++++++
 imake.c                |   65 +++++++++++++++++++++----------------------------
 2 files changed, 44 insertions(+), 37 deletions(-)

New commits:
commit 323bc318e9bfb5cea24dfca0a47031d1861506dd
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:44:37 2022 -0700

    Add .git-blame-ignore-revs to hide whitespace commits from git blame
    
    To use this in your local repo clone, you will need to either run
    `git blame --ignore-revs-file .git-blame-ignore-revs`
    or set it permanently with
    `git config blame.ignoreRevsFile .git-blame-ignore-revs`
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 187945b6f93f193d7b8a4580191a040186de0f18
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:36:45 2022 -0700

    unifdef SIGNALRETURNSINT
    
    Signal handlers have been required to have a void return, not int,
    since C89.  This #define hadn't been set in many years.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit a511600f0391e7ecc2fa55e5cda222b5535422e8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:30:20 2022 -0700

    Simplify HAVE_MKSTEMP block
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 4945a09e914c48a2a55dacdb24ffe2806378641b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:24:18 2022 -0700

    Make Emalloc() argument a size_t to match malloc()
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 8c0dfb819569baf3c388bf9915fea1d332a29908
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:18:31 2022 -0700

    Fix -Wshadow warnings
    
    imake.c: In function ‘FindImakefile’:
    imake.c:662:27: warning: declaration of ‘Imakefile’ shadows a global declaration [-Wshadow]
     FindImakefile(const char *Imakefile)
                               ^~~~~~~~~
    imake.c:319:13: note: shadowed declaration is here
     const char *Imakefile = NULL;
                 ^~~~~~~~~
    
    imake.c: In function ‘define_os_defaults’:
    imake.c:1636:9: warning: declaration of ‘name’ shadows a previous local [-Wshadow]
        char name[PATH_MAX];
             ^~~~
    imake.c:1430:18: note: shadowed declaration is here
      struct utsname *name = NULL;
                      ^~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 0db44a83b2bb9b74a266d41e8b7d2731713d7eac
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Sep 17 09:11:05 2022 -0700

    Fix -Wsign-compare warnings
    
    imake.c: In function ‘ask_sun_compiler_for_versions’:
    imake.c:1200:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (len < sizeof(cmdtorun)) {
               ^
    imake.c: In function ‘get_gcc’:
    imake.c:1380:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i = 0; i < sizeof (gcc_path) / sizeof gcc_path[0]; i++) {
                    ^
    imake.c: In function ‘writetmpfile’:
    imake.c:2027:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (fwrite(buf, sizeof(char), cnt, fd) == -1)
                                             ^~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list