version 1.1.1.1, 2013/01/17 10:05:35
|
version 1.4.58.1, 2024/10/27 04:24:52
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 | Copyright 2004 - 2024 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 68 av_Make(const char * __restrict csArgs, const char *cs
|
Line 68 av_Make(const char * __restrict csArgs, const char *cs
|
return -1; |
return -1; |
if (psValue && !valLen) |
if (psValue && !valLen) |
return -1; |
return -1; |
else | else if (psValue) |
memset(psValue, 0, valLen); |
memset(psValue, 0, valLen); |
psBuf = e_strdup(csArgs); |
psBuf = e_strdup(csArgs); |
if (!psBuf) |
if (!psBuf) |
Line 156 av_Path2File(const char * __restrict csArgs, char * __
|
Line 156 av_Path2File(const char * __restrict csArgs, char * __
|
|
|
pos = strrchr(psBuf, '/'); |
pos = strrchr(psBuf, '/'); |
if (!pos) { |
if (!pos) { |
|
if (psPath) |
|
strlcpy(psPath, ".", pathLen); |
|
|
strlcpy(psFile, psBuf, fileLen); |
strlcpy(psFile, psBuf, fileLen); |
|
|
e_free(psBuf); |
e_free(psBuf); |
Line 165 av_Path2File(const char * __restrict csArgs, char * __
|
Line 168 av_Path2File(const char * __restrict csArgs, char * __
|
|
|
strlcpy(psFile, pos, fileLen); |
strlcpy(psFile, pos, fileLen); |
if (psPath) |
if (psPath) |
strlcpy(psPath, psBuf, pathLen); | strlcpy(psPath, *psBuf ? psBuf : "/", pathLen); |
|
|
e_free(psBuf); |
e_free(psBuf); |
return 2; |
return 2; |