Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1677 → Rev 1678

/pkg/trunk/helpers.c
1,6 → 1,6
/*
* This file is part of pkg (SvarDOS package manager)
* Copyright (C) 2012-2022 Mateusz Viste
* Copyright (C) 2012-2024 Mateusz Viste
*
* It contains a few helper function...
*/
26,6 → 26,20
}
 
 
/* trim CRC from a filename and returns a pointer to the CRC part.
* this is used to parse filename lines from LSM files */
char *trimfnamecrc(char *fname) {
while (*fname) {
if (*fname == '?') {
*fname = 0;
return(fname + 1);
}
fname++;
}
return(0);
}
 
 
void removeDoubleBackslashes(char *str) {
char *curpos;
int x;