Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 239 → Rev 240

/pkginst/helpers.c
7,16 → 7,12
 
 
#include <ctype.h> /* tolower() */
#include <direct.h> /* provides the mkdir() prototype */
#include <string.h> /* */
#include <stdio.h> /* sprintf() */
#include <stdlib.h> /* atoi() */
#include <sys/stat.h> /* mkdir() */
 
#include "version.h"
 
#include <direct.h> /* provides the mkdir() prototype */
#define MAKEDIR(x) mkdir(x);
 
#include "helpers.h"
 
 
181,7 → 177,7
savechar = dirs[x];
dirs[x] = 0;
/* make the dir */
MAKEDIR(dirs);
mkdir(dirs);
dirs[x] = savechar;
}
}
/pkginst/main.c
1,7 → 1,10
/*
* PKGINST - SvarDOS package installer
* Copyright (C) 2015-2021 Mateusz Viste
*
* PUBLISHED UNDER THE TERMS OF THE MIT LICENSE
*
* COPYRIGHT (C) 2016-2021 MATEUSZ VISTE, ALL RIGHTS RESERVED.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
17,8 → 20,8
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
 
 
/pkginst/pkgrem.c
1,6 → 1,6
/*
* This file is part of the FDNPKG project.
* Copyright (C) Mateusz Viste 2012-2016. All rights reserved.
* This file is part of the pkginst (SvarDOS) project.
* Copyright (C) Mateusz Viste 2012-2021. All rights reserved.
*/
 
#include <ctype.h> /* toupper() */