Changeset c801be in git for Singular/LIB


Ignore:
Timestamp:
Jun 2, 1999, 6:21:25 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9a596d7c3d7c58bebe3c8b5be18d45d256dff19c
Parents:
a5ceaf73bfdccd8f6ac9557f9a9d9fd1cacb8be3
Message:
* bug fix in sprintf


git-svn-id: file:///usr/local/Singular/svn/trunk@3089 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    ra5ceaf rc801be  
    1 // $Id: standard.lib,v 1.31 1999-05-26 13:14:33 obachman Exp $
     1// $Id: standard.lib,v 1.32 1999-06-02 16:21:25 obachman Exp $
    22//////////////////////////////////////////////////////////////////////////////
    33
    4 version="$Id: standard.lib,v 1.31 1999-05-26 13:14:33 obachman Exp $";
     4version="$Id: standard.lib,v 1.32 1999-06-02 16:21:25 obachman Exp $";
    55info="
    66LIBRARY: standard.lib   PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP
     
    763763"
    764764{
    765   if (size(fmt) <= 1)
     765  int sfmt = size(fmt);
     766  if (sfmt  <= 1)
    766767  {
    767768    return (fmt);
     
    777778    }
    778779    nnext = 0;
    779     while (1)
     780    while (nnext < sfmt)
    780781    {
    781782      nnext = find(fmt, "%", nnext + 1);
Note: See TracChangeset for help on using the changeset viewer.