Git Product home page Git Product logo

Comments (2)

github-actions avatar github-actions commented on May 9, 2024

Thanks for filing an issue! Please note that this project is only passively maintained, so your best bet for getting an issue resolved is through a pull request that is easy to verify!

from atomicparsley.

Chaz6 avatar Chaz6 commented on May 9, 2024

So I don't forget, this patch fixes the issue:-

diff --git a/src/util.cpp b/src/util.cpp
index 98e302e..2dcfcdb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -441,7 +441,7 @@ uint16_t PackLanguage(
    This strsep function is part of the GNU C Library - v2.3.5; LGPL.
 */

-char *strsep(char **stringp, const char *delim) {
+char *strsep(char **stringp, const char *delim) noexcept(true) {
   char *begin, *end;

   begin = *stringp;
diff --git a/src/util.h b/src/util.h
index 616bbbc..6b24f06 100644
--- a/src/util.h
+++ b/src/util.h
@@ -83,7 +83,7 @@ void APar_UnpackLanguage(unsigned char lang_code[], uint16_t packed_language);
 uint16_t PackLanguage(const char *language_code, uint8_t lang_offset);

 #ifndef HAVE_STRSEP
-char *strsep(char **stringp, const char *delim);
+char *strsep(char **stringp, const char *delim) noexcept(true);
 #endif

 char *APar_extract_UTC(uint64_t total_secs);

from atomicparsley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.