qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5c99fa: cutils: Provide strchrnul


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5c99fa: cutils: Provide strchrnul
Date: Fri, 29 Jun 2018 10:28:49 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5c99fa375da1c7cc4a42a93e002e98b9fb34754b
      
https://github.com/qemu/qemu/commit/5c99fa375da1c7cc4a42a93e002e98b9fb34754b
  Author: Keno Fischer <address@hidden>
  Date:   2018-06-29 (Fri, 29 Jun 2018)

  Changed paths:
    M configure
    M hmp.c
    M hw/9pfs/9p-local.c
    M include/qemu/cutils.h
    M monitor.c
    M util/cutils.c
    M util/qemu-option.c
    M util/uri.c

  Log Message:
  -----------
  cutils: Provide strchrnul

strchrnul is a GNU extension and thus unavailable on a number of targets.
In the review for a commit removing strchrnul from 9p, I was asked to
create a qemu_strchrnul helper to factor out this functionality.
Do so, and use it in a number of other places in the code base that inlined
the replacement pattern in a place where strchrnul could be used.

Signed-off-by: Keno Fischer <address@hidden>
Acked-by: Greg Kurz <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Greg Kurz <address@hidden>


  Commit: 230f1b31c5d58a852e1ac46e1ef05cfa7d5d9280
      
https://github.com/qemu/qemu/commit/230f1b31c5d58a852e1ac46e1ef05cfa7d5d9280
  Author: Keno Fischer <address@hidden>
  Date:   2018-06-29 (Fri, 29 Jun 2018)

  Changed paths:
    M hw/9pfs/9p-local.c

  Log Message:
  -----------
  9p: darwin: Explicitly cast comparisons of mode_t with -1

Comparisons of mode_t with -1 require an explicit cast, since mode_t
is unsigned on Darwin.

Signed-off-by: Keno Fischer <address@hidden>
Signed-off-by: Greg Kurz <address@hidden>


  Commit: b2866c29156afdcad3ced4cc2001bbfe4302d81c
      
https://github.com/qemu/qemu/commit/b2866c29156afdcad3ced4cc2001bbfe4302d81c
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-29 (Fri, 29 Jun 2018)

  Changed paths:
    M configure
    M hmp.c
    M hw/9pfs/9p-local.c
    M include/qemu/cutils.h
    M monitor.c
    M util/cutils.c
    M util/qemu-option.c
    M util/uri.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging

The Darwin host support still needs some more work. It won't make it for
soft-freeze, but I'd like these preparatory patches to be merged anyway.

# gpg: Signature made Fri 29 Jun 2018 11:39:04 BST
# gpg:                using RSA key 71D4D5E5822F73D6
# gpg: Good signature from "Greg Kurz <address@hidden>"
# gpg:                 aka "Gregory Kurz <address@hidden>"
# gpg:                 aka "[jpeg image of size 3330]"
# Primary key fingerprint: B482 8BAF 9431 40CE F2A3  4910 71D4 D5E5 822F 73D6

* remotes/gkurz/tags/for-upstream:
  9p: darwin: Explicitly cast comparisons of mode_t with -1
  cutils: Provide strchrnul

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/75507f1aba6f...b2866c29156a
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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