Fossil

Diff
Login

Differences From Artifact [409df8860f]:

To Artifact [bc6bc305c4]:


160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
void transport_flip(void){
  if( g.urlIsFile ){
    char *zCmd;
    fclose(transport.pFile);
    zCmd = mprintf("\"%s\" http \"%s\" \"%s\" \"%s\" 127.0.0.1",
       g.argv[0], g.urlName, transport.zOutFile, transport.zInFile
    );
#ifdef __MINGW32__
    /* Quote the entire command to work around goofiness in system() on
    ** on windows. Ticket [40df1ced7e] */
    zCmd = mprintf("\"%z\"", zCmd);
#endif
    system(zCmd);
    free(zCmd);
    transport.pFile = fopen(transport.zInFile, "rb");
  }
}

/*







<
<
<
|
<







160
161
162
163
164
165
166



167

168
169
170
171
172
173
174
void transport_flip(void){
  if( g.urlIsFile ){
    char *zCmd;
    fclose(transport.pFile);
    zCmd = mprintf("\"%s\" http \"%s\" \"%s\" \"%s\" 127.0.0.1",
       g.argv[0], g.urlName, transport.zOutFile, transport.zInFile
    );



    portable_system(zCmd);

    system(zCmd);
    free(zCmd);
    transport.pFile = fopen(transport.zInFile, "rb");
  }
}

/*