Fossil

History of src/popen.c of d32155d0642988c4
Login

History of src/popen.c of d32155d0642988c4

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of file src/popen.c at check-in d32155d0642988c4

2024-02-06
14:07
Another attempt to fix the harmless compiler warning in popen2(). ... (file: [a731693eb7] check-in: [b1483634c6] user: drh branch: trunk, size: 7137)
13:57
Stderr of ssh subcommand goes is read by the main process now, instead of going to the console. Improved error messages following failure on ssh: sync. ... (file: [09d66813a2] check-in: [fb156a12bf] user: drh branch: trunk, size: 7099)
11:24
Fix harmless compiler warning in popen2(). ... (file: [7705e4474a] check-in: [07e092ab39] user: drh branch: trunk, size: 6878)
2024-02-05
22:00
Omit the PATH= prefix on the ssh fossil syncs unless the first attempt to contact the remote fails. Change the prefix to include common directories for Fossil on Macs. Remember whether or not the PATH= prefix is needed based on hostname. See the discussion at [forum:/forumpost/4903cb4b691af7ce|forum thread 4903cb4b691af7ce]. ... (file: [e6675fd982] check-in: [d07689d11d] user: drh branch: ssh-path-prefix, size: 6872)
2023-02-03
15:15
Attempt to fix various harmless compiler warnings reported by Clang-15. ... (file: [1b97d68d5a] check-in: [e486a0acbc] user: drh branch: trunk, size: 6806)
2019-08-05
16:35
Initial draft changes to support 'extcgi' on Win32. ... (file: [e78c810db8] check-in: [fbe1eddaa3] user: mistachkin branch: winExtCgi, size: 6832)
2019-07-25
17:07
Add the ability to extend a Fossil server using CGI. This is a refactor of the prior sub-cgi branch. ... (file: [036510c48c] check-in: [ed2def5ffb] user: drh branch: extension-cgi, size: 6724)
2018-12-10
08:07
Attempt to get the backoffice running on Windows. ... (file: [545f90676d] check-in: [c52fb5eddb] user: tsbg branch: backoffice-win, size: 6373)
2018-07-15
19:56
Clarify the difference between fossil_fatal() and fossil_panic(). The fossil_panic() interface puts a message on the error log when generating webpages. Otherwise the two routines are identical. Convert some fossil_fatal() calls into fossil_panic() where appropriate. The goal here is to limit messages on the error log to things that require attention from the system administrator, or represent bugs. ... (file: [44d0236d6f] check-in: [3f5ab71744] user: drh branch: trunk, size: 6362)
2017-08-12
16:20
Avoid another attack vector when using SSH sync protocol by not calling a shell interpreter. Fixes only Unix-like environments by using execvp() instead of a string that can be mishandled by /bin/sh. Superseded by [3b191c984b] &co. ... (file: [aae4d0fc2f] check-in: [ce7baa9798] user: andybradford branch: ssh-shell-cleanup, size: 6692)
2015-04-27
19:27
Remove unnecessary end-of-line spacing ... (file: [b2ca46105d] check-in: [fc3d9f52ee] user: jan.nijtmans branch: trunk, size: 6362)
2014-03-15
21:08
For SSH URLs don't explicitly kill SSH with SIGINT, but let close kill process. Observed as a "Killed by signal 2." error on FreeBSD. ... (file: [74cb748948] check-in: [0e8f0bc317] user: andybradford branch: trunk, size: 6373)
2013-08-25
03:25
Move some posix only includes so they are not used on _WIN32. Can compile again on MinGW. ... (file: [354cc2734b] check-in: [8278a03f0e] user: mgagnon branch: ssh-test-http, size: 6450)
2013-08-09
07:23
Avoid zombies on client side by waiting for children. This can happen when there are a large number of changes to transmit. ... (file: [3aaea1b18b] check-in: [308f52a63a] user: andybradford branch: ssh-shared-account, size: 6444)
2013-07-18
01:00
Move signal handling into popen.c (wrapped in #ifdef). ... (file: [e1a3a62f0e] check-in: [3760ac92ba] user: amb branch: ssh-transport-changes, size: 6383)
2012-09-24
11:48
Fix typo in win32_fatal_error(). ... (file: [efac5b7a7c] check-in: [9301375f3e] user: mistachkin branch: trunk, size: 6336)
2012-09-12
08:10
Restore fossil to be compilable for Win95 <p>Replace "-DUNICODE -D_UNICODE" with "-DSQLITE_OS_WINNT=0" in win/Makefile.mingw if you want this. ... (file: [fd2e534769] check-in: [b402bec882] user: jan.nijtmans branch: restore-win95, size: 6325)
2012-08-31
20:46
Revert change [208d67675c]. The policy is to keep the Fossil source code ASCII even if Fossil itself is able to handle non-ASCII source files. Furthermore, the [208d67675c] change broken things. Also backout change [34fcb9634e] since it complicates the C code with unnecessary backslash characters in order to changes single-quotes to double-quotes in the generated HTML and Javascript, which is pointless. ... (file: [8c51da4106] check-in: [c19f34cb69] user: drh branch: trunk, size: 6330)
2012-08-30
09:21
... and teach popen how to handle non-mbcs characters ... (file: [0bcd509716] check-in: [7d842b654b] user: jan.nijtmans branch: ticket-c8c0b78c84, size: 6329)
2012-08-29
14:12
merge trunk ... (file: [3b00f65213] check-in: [c037808477] user: jan.nijtmans branch: eclipse-project, size: 6482)
13:57
Allow UTF-8 characters in sources. translate.exe will translate it to ASCII ... (file: [d7da3ac6fb] check-in: [9f6abc5968] user: jan.nijtmans branch: msvc-broken, size: 6311)
2012-08-22
14:57
... and without -DUNICODE as well ... (file: [31ed458f1d] check-in: [7ba6a72443] user: jan.nijtmans branch: eclipse-project, size: 6483)
14:53
Allow popen.c and winhttp.c to be compiled with -DUNICODE -D_UNICODE (the latter just by undefining those) ... (file: [518804cd86] check-in: [8bde948434] user: jan.nijtmans branch: eclipse-project, size: 6329)
2012-03-29
14:54
Add vim modline everywhere ... (file: [b10d26a1b2] check-in: [a496d8e88d] user: mgagnon branch: mgagnon_fix, size: 6354)
2011-08-23
15:45
Fix several harmless compiler warnings. ... (file: [bb42b2da7e] check-in: [553159aa0d] user: drh branch: trunk, size: 6312)
2011-01-17
02:38
A better fix for the intptr_t casting problem - this one works on older compilers. Ticket [6585b6c5d9058212ceb] ... (file: [3108112a75] check-in: [c1f6df703a] user: drh branch: trunk, size: 6224)
2011-01-14
17:00
Fix a cast on 64-bit windows. Ticket [6585b6c5d9058212ceb]. ... (file: [0462da3d05] check-in: [3c62ea139a] user: drh branch: trunk, size: 4975)
2010-08-31
05:12
compile warning fixes (uninitialized vars) ... (file: [935a4cdb90] check-in: [3c326ea4de] user: ron branch: trunk, size: 4967)
01:53
Merge the changes from the windowscompilers branch into the trunk. ... (file: [97f510851d] check-in: [3564af0f7a] user: drh branch: trunk, size: 4963)
2010-08-28
06:59
This is the first check-in on the windowscompilers branch and it adds the <a href="http://www.digitalmars.com/">Digital Mars C compiler</a> The user should have dmc installed in c:\DM with zlib in c:\DM\extra\lib and c:\DM\extra\include. typing c:\DM\bin\make -f win\Makefile.dmc builds fossil.exe in dmcobj The following files were edited or added: <p>Checks if one of the windows compilers is used. If so we define _WIN32. Defining _WIN32 is normally done by<br>#include &lt;windows.h&gt;<br> However most of the time we don't use windows.h. </p> <p>Adding an other windows compiler is done by adding<br> "|| defined(__COMPILER_IDENTIFIER__)"<br> and maybe some special things in the files below. Like <pre> </pre> </p> <p>These have all __MINGW32__ replaced by _WIN32. And in some places special processing for either MINGW32 or DMC <p>In popen2 the _open_osfHandle call first parameter is cast to a long. DMC refused to compile without the cast.</p> <p>DMC complained that it didn't knew of time_t in rss.h. time.h came after rss.h. Switching the two solved it! </p> <p>added tcl code to generate Makefile.dmc. tclsh src/makemake.tcl dmc prints to stdout the makefile. As a convienience to the end-user I added the win/Makefile.dmc to the repository. There are few changeable variables in there for adjusting path, CFLAGS LIBS etc. </p> <p>These are needed because DMC and MSVC doesn't provided them. dirent.h is copied verbatim from the net. unistd.h I found on the net too, but added some defines. <p>The problem with windows it doesn't have AWK standard installed. version.c creates VERSION.h. It is a very simple C-program and doesn't do a lot of checking. </p> ... (file: [9881b6a80c] check-in: [f66f414fd3] user: renez branch: windowscompilers, size: 4933)
2010-08-27
20:40
The ssh:// method on windows is now working well with plink. It will even prompt for passwords if the URL contains a "*" password. ... (file: [8a7f8d885d] check-in: [0cdb6403cb] user: drh branch: trunk, size: 4931)
17:19
Fix a typo in the popen2() implementation for windows. Ticket [cf50ea4d6914fb6d856988da7]. Also refinements on the ssh:// toward getting it working on windows. ... (file: [053ac1614e] check-in: [d5c934e5df] user: drh branch: trunk, size: 4900)
2010-08-26
13:29
Close pipes before killing off the child process. ... (file: [6725572696] check-in: [360b047759] user: drh branch: trunk, size: 4901)
13:17
Untested implementation of popen2() for windows. ... (file: [7ef50eb214] check-in: [34ea1e4abb] user: drh branch: experimental, size: 4901)
11:27
Fix buffering issues with ssh://. The ssh:// sync method now works with older, unmodified servers. Added the "?fossil=exe" option to URL processing. ... (file: [c403d4b210] check-in: [af97726337] user: drh branch: experimental, size: 2433)
2010-08-25
16:03
Continuing work on the ssh:// sync protocol. ... (file: [de326e889a] check-in: [958f596637] user: drh branch: experimental, size: 2381)