Diff for /libaitio/src/aitio.c between versions 1.11 and 1.12

version 1.11, 2012/07/03 08:51:05 version 1.12, 2012/08/02 00:47:47
Line 474  ioStrAst(const char *csString) Line 474  ioStrAst(const char *csString)
                 io_Errno = EINVAL;                  io_Errno = EINVAL;
                 return NULL;                  return NULL;
         } else {          } else {
                str = strdup(strchr(csString, '{') + 1);                str = io_strdup(strchr(csString, '{') + 1);
                 *strrchr(str, '}') = 0;                  *strrchr(str, '}') = 0;
         }          }
   
Line 496  ioStrAst(const char *csString) Line 496  ioStrAst(const char *csString)
                 /* ok, clear show */                  /* ok, clear show */
                 ext = str;                  ext = str;
   
        out = strdup(ext);        out = io_strdup(ext);
         io_free(str);          io_free(str);
   
         return out;          return out;
Line 519  ioMkDir(const char *csDir, int mode) Line 519  ioMkDir(const char *csDir, int mode)
         if (!csDir)          if (!csDir)
                 return cx;                  return cx;
   
        str = strdup(csDir);        str = io_strdup(csDir);
         if (!str) {          if (!str) {
                 LOGERR;                  LOGERR;
                 return cx;                  return cx;

Removed from v.1.11  
changed lines
  Added in v.1.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>