Changeset 34598 in webkit for trunk/JavaScriptCore/API/minidom.c


Ignore:
Timestamp:
Jun 16, 2008, 6:39:59 AM (17 years ago)
Author:
[email protected]
Message:

(JavaScriptCore) minidom uses C++ style comments

https://bugs.webkit.org/show_bug.cgi?id=19557

Use only C style comments in minidom sources

Reviewed by Sam.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/minidom.c

    r34273 r34598  
    1 // -*- mode: c++; c-basic-offset: 4 -*-
     1/* -*- mode: c; c-basic-offset: 4 -*- */
    22/*
    33 * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
     
    114114    while (!feof(f) && !ferror(f)) {
    115115        buffer_size += fread(buffer + buffer_size, 1, buffer_capacity - buffer_size, f);
    116         if (buffer_size == buffer_capacity) { // guarantees space for trailing '\0'
     116        if (buffer_size == buffer_capacity) { /* guarantees space for trailing '\0' */
    117117            buffer_capacity *= 2;
    118118            buffer = (char*)realloc(buffer, buffer_capacity);
Note: See TracChangeset for help on using the changeset viewer.