Skip to content
Tcl Source Code History Of Ticket 219094
Login

History Of Ticket 219094

Artifacts Associated With Ticket 219094

  1. Ticket change [54c6716d31] (rid 94007) by nobody on 2000-10-26 01:10:37:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 5625 Bug
      Version: 8.4a1
      SubmitDate: '2000-05-22'
      LastModified: '2000-05-22'
      Severity: MED
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux
      FixedDate: '2000-05-22'
      FixedInVersion: 8.4a1
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      mo
      
      
      
      CVS:
      
      Fri May 19
      
      
      
      ObservedBehavior:
      
      Compiling this file produces lots of warnings.
      
      
      
      DesiredBehavior:
      
      I would like Tcl to compile cleanly.
      
      
      
      Patch:
      
      Index: ChangeLog
      
      ===================================================================
      
      RCS file: /cvsroot/tcl/ChangeLog,v
      
      retrieving revision 1.241
      
      diff -u -r1.241 ChangeLog
      
      --- ChangeLog2000/05/18 22:29:551.241
      
      +++ ChangeLog2000/05/20 00:54:49
      
      @@ -1,3 +1,10 @@
      
      +2000-05-19  Mo DeJong   <[email protected]>
      
      +
      
      +* win/tclWinConsole.c: Cleaned up
      
      +lots of compiler warnings related to
      
      +implicit conversions and functions
      
      +that were never defined.
      
      +
      
       2000-05-18  Eric Melski  <[email protected]>
      
       
      
       * tests/clock.test: Added test for "2 days 2 hours ago" style
      
      Index: win/tclWinConsole.c
      
      ===================================================================
      
      RCS file: /cvsroot/tcl/win/tclWinConsole.c,v
      
      retrieving revision 1.3
      
      diff -u -r1.3 tclWinConsole.c
      
      --- tclWinConsole.c1999/07/27 01:42:251.3
      
      +++ tclWinConsole.c2000/05/20 00:54:49
      
      @@ -135,14 +135,6 @@
      
        * Declarations for functions used only in this file.
      
        */
      
       
      
      -static intApplicationType(Tcl_Interp *interp,
      
      -    const char *fileName, char *fullName);
      
      -static voidBuildCommandLine(const char *executable, int argc, 
      
      -    char **argv, Tcl_DString *linePtr);
      
      -static voidCopyChannel(HANDLE dst, HANDLE src);
      
      -static BOOLHasConsole(void);
      
      -static TclFileMakeFile(HANDLE handle);
      
      -static char *MakeTempFile(Tcl_DString *namePtr);
      
       static intConsoleBlockModeProc(ClientData instanceData, int mode);
      
       static voidConsoleCheckProc(ClientData clientData, int flags);
      
       static intConsoleCloseProc(ClientData instanceData,
      
      @@ -161,7 +153,6 @@
      
       static voidConsoleWatchProc(ClientData instanceData, int mask);
      
       static DWORD WINAPIConsoleWriterThread(LPVOID arg);
      
       static voidProcExitHandler(ClientData clientData);
      
      -static intTempFileName(WCHAR name[MAX_PATH]);
      
       static intWaitForRead(ConsoleInfo *infoPtr, int blocking);
      
       
      
       /*
      
      @@ -632,11 +623,11 @@
      
        */
      
       
      
       if (bufSize < (infoPtr->bytesRead - infoPtr->offset)) {
      
      -    memcpy(buf, &infoPtr->buffer[infoPtr->offset], bufSize);
      
      +    memcpy(buf, &infoPtr->buffer[infoPtr->offset], (size_t) bufSize);
      
           bytesRead = bufSize;
      
           infoPtr->offset += bufSize;
      
       } else {
      
      -    memcpy(buf, &infoPtr->buffer[infoPtr->offset], bufSize);
      
      +    memcpy(buf, &infoPtr->buffer[infoPtr->offset], (size_t) bufSize);
      
           bytesRead = infoPtr->bytesRead - infoPtr->offset;
      
       
      
           /*
      
      @@ -730,9 +721,9 @@
      
       ckfree(infoPtr->writeBuf);
      
           }
      
           infoPtr->writeBufLen = toWrite;
      
      -    infoPtr->writeBuf = ckalloc(toWrite);
      
      +    infoPtr->writeBuf = ckalloc((unsigned int) toWrite);
      
       }
      
      -memcpy(infoPtr->writeBuf, buf, toWrite);
      
      +memcpy(infoPtr->writeBuf, buf, (size_t) toWrite);
      
       infoPtr->toWrite = toWrite;
      
       ResetEvent(infoPtr->writable);
      
       SetEvent(infoPtr->startWriter);
      
      @@ -1082,7 +1073,7 @@
      
        * that are not KEY_EVENTs 
      
        */
      
       if (ReadConsole(handle, infoPtr->buffer, CONSOLE_BUFFER_SIZE,
      
      -&infoPtr->bytesRead, NULL) != FALSE) {
      
      +(LPDWORD) &infoPtr->bytesRead, NULL) != FALSE) {
      
           /*
      
            * Data was stored in the buffer.
      
            */
      
      
      
      PatchFiles:
      
      ChangeLog
      
          win/tclWinConsole.c
      
      
      
      
      
      Patched as noted for 8.4a1. 
      -- 05/22/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.4a1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "75. Tutorial"
    10. title initialized to: "Cleanup for win/tclWinConsole.c"
    11. type initialized to: "Bug"
  2. Ticket change [59c62c69cd] (rid 118026) by welch on 2000-10-26 08:34:55:

    1. closedate changed to: "2000-10-26T01:34:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [75f1dabebf] (rid 105483) by dgp on 2001-04-05 06:52:46:

    1. closedate changed to: "2001-04-04T23:52:46"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"