@@ -104,6 +104,8 @@ allocStr(const char *s, int len)
returnNULL;
if(len<0)
len=strlen(s);
if(len<0||len>=STR_SIZE_MAX)
len=STR_SIZE_MAX-1;
ptr=NewAtom_N(char,len+1);
if(ptr==NULL){
fprintf(stderr,"fm: Can't allocate string. Give me more memory!\n");
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.