pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: stralloc.c,v 1.183 2004/11/06 17:28:22 grubba Exp $ + || $Id: stralloc.c,v 1.184 2004/11/06 17:34:02 grubba Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "dynamic_buffer.h"   #include "pike_macros.h"   #include "pike_memory.h"   #include "pike_error.h"   #include "gc.h"
pike.git/src/stralloc.c:2400:    case 'l':    if (flags & APPEND_WIDTH_LONG) {    flags |= APPEND_WIDTH_LONG_LONG;    } else {    flags |= APPEND_WIDTH_LONG;    }    continue;       case 'O':    { -  /* FIXME: Doesn't care about field widths yet. */ +  /* FIXME: Doesn't care about field or integer widths yet. */    dynamic_buffer old_buf;    init_buf(&old_buf);    describe_svalue(va_arg(args, struct svalue *), 0, NULL);    string_builder_binary_strcat(s, pike_global_buffer.s.str,    pike_global_buffer.s.len);    toss_buffer(&pike_global_buffer);    restore_buffer(&old_buf);    }    break;    case 'S':
pike.git/src/stralloc.c:2451:    string_builder_fill(s, min_width - len, MKPCHARP(" ", 0),    4, 0);    string_builder_binary_strcat(s, str, len);    }    } else {    string_builder_binary_strcat(s, str, len);    }    }    break;    case 'c': -  /* FIXME: Doesn't case about field widths yet. */ +  /* FIXME: Doesn't care about field or integer widths yet. */    string_builder_putchar(s, va_arg(args, int));    break;    case 'b':    string_builder_append_integerv(s, args, 2,    flags, min_width, precision);    break;    case 'o':    string_builder_append_integerv(s, args, 8,    flags, min_width, precision);    break;