Changeset 4051


Ignore:
Timestamp:
09/25/03 15:37:08 (19 years ago)
Author:
piso
Message:

finishOutput() => flushOutput()

Location:
trunk/j/src/org/armedbear/lisp
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/Autoload.java

    r4048 r4051  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: Autoload.java,v 1.75 2003-09-25 13:18:18 piso Exp $
     5 * $Id: Autoload.java,v 1.76 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    7070                out.writeString(className);
    7171                out.writeLine(" ...");
    72                 out.finishOutput();
     72                out.flushOutput();
    7373                long start = System.currentTimeMillis();
    7474                Class.forName(className);
     
    7979                out.writeString(String.valueOf(((float)elapsed)/1000));
    8080                out.writeLine(" seconds)");
    81                 out.finishOutput();
     81                out.flushOutput();
    8282            }
    8383            catch (ClassNotFoundException e) {
  • trunk/j/src/org/armedbear/lisp/BinaryOutputStream.java

    r3887 r4051  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: BinaryOutputStream.java,v 1.3 2003-09-19 12:32:13 piso Exp $
     5 * $Id: BinaryOutputStream.java,v 1.4 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    4545    }
    4646
    47     public void finishOutput() throws ConditionThrowable
     47    public void flushOutput() throws ConditionThrowable
    4848    {
    4949        try {
  • trunk/j/src/org/armedbear/lisp/CharacterOutputStream.java

    r3887 r4051  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: CharacterOutputStream.java,v 1.5 2003-09-19 12:32:13 piso Exp $
     5 * $Id: CharacterOutputStream.java,v 1.6 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    223223    }
    224224
    225     public void finishOutput() throws ConditionThrowable
     225    public void flushOutput() throws ConditionThrowable
    226226    {
    227227        try {
  • trunk/j/src/org/armedbear/lisp/Interpreter.java

    r4049 r4051  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Interpreter.java,v 1.37 2003-09-25 14:33:57 piso Exp $
     5 * $Id: Interpreter.java,v 1.38 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    122122                    ++commandNumber;
    123123                    out.writeString(prompt());
    124                     out.finishOutput();
     124                    out.flushOutput();
    125125                    char c = peekCharNonWhitespace(getStandardInput());
    126126                    if (c == '\n') {
     
    190190                        out.writeLine(String.valueOf(result));
    191191                    }
    192                     out.finishOutput();
     192                    out.flushOutput();
    193193                }
    194194                catch (StackOverflowError e) {
  • trunk/j/src/org/armedbear/lisp/Lisp.java

    r4049 r4051  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Lisp.java,v 1.149 2003-09-25 14:33:32 piso Exp $
     5 * $Id: Lisp.java,v 1.150 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    10841084                }
    10851085                out.writeLine("; Profiling started.");
    1086                 out.finishOutput();
     1086                out.flushOutput();
    10871087                profiling = true;
    10881088            } else {
    10891089                out.writeLine("; Profiling already enabled.");
    1090                 out.finishOutput();
     1090                out.flushOutput();
    10911091            }
    10921092            return LispThread.currentThread().nothing();
     
    11061106            } else
    11071107                out.writeLine("; Profiling not enabled.");
    1108             out.finishOutput();
     1108            out.flushOutput();
    11091109            return LispThread.currentThread().nothing();
    11101110        }
  • trunk/j/src/org/armedbear/lisp/LispThread.java

    r3887 r4051  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: LispThread.java,v 1.13 2003-09-19 12:32:13 piso Exp $
     5 * $Id: LispThread.java,v 1.14 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    230230            try {
    231231                out.writeLine("Evaluation stack:");
    232                 out.finishOutput();
     232                out.flushOutput();
    233233                for (int i = stack.size(); i-- > 0;) {
    234234                    out.writeString("  ");
     
    247247                    pprint(obj, out.getCharPos(), out);
    248248                    out.terpri();
    249                     out.finishOutput();
     249                    out.flushOutput();
    250250                }
    251251            }
  • trunk/j/src/org/armedbear/lisp/Load.java

    r4039 r4051  
    33 *
    44 * Copyright (C) 2002-2003 Peter Graves
    5  * $Id: Load.java,v 1.20 2003-09-24 14:16:46 piso Exp $
     5 * $Id: Load.java,v 1.21 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    185185                out.writeString(semicolons);
    186186                out.writeLine(" Loading " + truename + " ...");
    187                 out.finishOutput();
     187                out.flushOutput();
    188188            }
    189189            LispObject result = loadStream(in, print);
     
    198198                out.writeString(String.valueOf(((float)elapsed)/1000));
    199199                out.writeLine(" seconds)");
    200                 out.finishOutput();
     200                out.flushOutput();
    201201            }
    202202            return result;
     
    223223                    CharacterOutputStream out = getStandardOutput();
    224224                    out.writeLine(String.valueOf(result));
    225                     out.finishOutput();
     225                    out.flushOutput();
    226226                }
    227227            }
  • trunk/j/src/org/armedbear/lisp/Time.java

    r3884 r4051  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: Time.java,v 1.6 2003-09-19 11:50:19 piso Exp $
     5 * $Id: Time.java,v 1.7 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    4949            }
    5050            out.writeString(sb.toString());
    51             out.finishOutput();
     51            out.flushOutput();
    5252            return result;
    5353        }
  • trunk/j/src/org/armedbear/lisp/room.java

    r3871 r4051  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: room.java,v 1.2 2003-09-19 00:05:11 piso Exp $
     5 * $Id: room.java,v 1.3 2003-09-25 15:37:08 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    6161            sb.append(System.getProperty("line.separator"));
    6262            out.writeString(sb.toString());
    63             out.finishOutput();
     63            out.flushOutput();
    6464            return number(used);
    6565        }
Note: See TracChangeset for help on using the changeset viewer.