version 1.3, 2015/06/25 17:53:50
|
version 1.5, 2024/10/28 09:58:51
|
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 - 2015 | 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; |