POV-Ray : Newsgroups : povray.programming : logical filenames Server Time
29 Jul 2024 00:29:47 EDT (-0400)
  logical filenames (Message 1 to 1 of 1)  
From: Jan Danielsson
Subject: logical filenames
Date: 26 Apr 1999 10:26:06
Message: <wnaqnavryffbasnyhaznvygryvnpbz.fat9ye0.pminews@news.povray.org>
Hello!

Povray 3.0 for OS/2 could handle logical filenames, but when I compiled
povray 3.1e for OS/2 (using the unix-version) it could not longer handle
logical filenames.

I searched though optin.c and found:

    dest = Option_String;
    while ((isprint((int)*source)) &&
           (*source != ' ') &&
           (*source != '=') &&
           (*source != '#') &&
           (*source != ';'))
    {
      *(dest++) = *(source++);
    }
    *dest = '\0';


...simply changing it to:

    dest = Option_String;
    while ((isprint((int)*source)) &&
//           (*source != ' ') &&
           (*source != '=') &&
           (*source != '#') &&
           (*source != ';'))
    {
      *(dest++) = *(source++);
    }
    *dest = '\0';



...allows povray to use logical filenames again.

However, I would like to know if I broke anything by doing so. (?)


 /j


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.