Coder Social home page Coder Social logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Accepted

Original comment by kobalicek.petr on 23 Nov 2009 at 10:55

  • Changed state: Accepted
  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Fixed in my local copy, will be commited later

Original comment by kobalicek.petr on 27 Nov 2009 at 8:35

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Should be fixed, please verify

Original comment by kobalicek.petr on 12 Dec 2009 at 2:10

  • Changed state: Fixed

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Ok, no problem anymore

Original comment by [email protected] on 12 Dec 2009 at 2:44

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
According to 
http://pubs.opengroup.org/onlinepubs/9699919799/functions/strlen.html the 
implementation of nlen should return maxlen rather -1 if null is not 
encountered.

Original comment by partow on 19 Dec 2010 at 7:10

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Since r259 nlen looks like that:
FOG_INLINE sysuint_t nlen(const char* str, sysuint_t maxlen)
{
  const char* p = str;
  if (!p) return 0;
  const char* end = str + maxlen;

  while (p < end && *p) p++;
  return (sysuint_t)(p - str);
}

That's ok, right?

Original comment by [email protected] on 19 Dec 2010 at 8:13

  • Added labels: Priority-Low
  • Removed labels: Priority-Critical

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
That's okay.

I think we should export these functions and make optimized non-inlined 
variants. After my commit I'd like to solve this.

I temporary reopened this to make this visible

Original comment by kobalicek.petr on 5 Feb 2011 at 1:59

  • Changed state: Reopened

from fog.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
This is definitely fixed, because Fog contains now own strnlen functionality. 

Original comment by kobalicek.petr on 10 Oct 2011 at 7:36

  • Changed state: Fixed

from fog.

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.