idk why is this merge important tbh

Merge branch 'master' of gitlab.com:call-cc/k9core
This commit is contained in:
qorg11 2020-06-02 01:57:08 +02:00
commit 976d1ed2bf
Signed by: qorg11
GPG Key ID: 343FC20A4ACA62B9
2 changed files with 6 additions and 4 deletions

View File

@ -2,9 +2,10 @@
#include <libgen.h>
int
main(int argc, char *argv[]) {
char *dir;
if((dir = dirname(argv[1])) == NULL) {
main(int argc, char *argv[])
{
char *dir = dirname(argv[1]);
if(dir == NULL) {
fprintf(stderr, "%s", argv[0]);
return 1;
}

View File

@ -2,7 +2,8 @@
#include <stdio.h>
int
main() {
main()
{
puts(getcwd(NULL, 0));
return 1;
}