Commit Briefs

7ee8c11a1c Thomas Adam

add missing freaddrinfo

also spotted by valgrind. ok stsp@


8b925c6ccd Thomas Adam

portable: add back sys/queue.h

Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.


0c6f49baf2 Thomas Adam

build with -Wwrite-strings

Throwing this into the mix for a while, we can always get rid of it again if it becomes annoying. No objections from stsp@


ef20f54204 Thomas Adam

build with -Wmissing-prototypes

ok stsp@


2996af606b Thomas Adam

fix level of indirection

ok stsp


26ec43f549 Thomas Adam

make the URI parser tolerate trailing slashes at the end of the input URI

ok naddy


dd038bc6ec Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.


c10270f60d Christian Weisgerber

assert against accidentally overflowing argv[] in got_dial_ssh()

ok stsp


5e5da8c4bc Stefan Sperling

rename got_fetch_parse_uri() to got_dial_parse_uri()

This function is now being used by both 'got fetch' and 'got send' so its former name was misleading.


d65a88a2f0 Stefan Sperling

move duplicated dial_ssh() and dial_git() functions into a common file

These functions are used by 'got send' and 'got fetch' in order to open network connections to a server. Move them into new file lib/dial.c and declare relevant functions in got_dial.h and lib/got_lib_dial.h. No functional change.