~ubuntu-branches/ubuntu/precise/gle-graphics/precise

« back to all changes in this revision

Viewing changes to src/gle/eval.cpp

  • Committer: Package Import Robot
  • Author(s): Christian T. Steigies
  • Date: 2011-10-20 22:15:27 UTC
  • mfrom: (5.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20111020221527-sv27lrowdd221npi
Tags: 4.2.3b-1
* new upstream version
* switch from cdbs to debhelper 8
* update copyright file
* do no rely on proc on non-linux systems (closes: #644588)
* do not ship glebtool, which is a helper used only during build
* add libqt4-opengl-dev to build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
#include "cmdline.h"
56
56
#include "graph.h"
57
57
#include "sub.h"
 
58
#include "file_io.h"
58
59
#ifdef __WIN32__
59
60
#include <time.h>
60
61
#endif
499
500
                        if (stk_str[nstk] != NULL) myfree(stk_str[nstk]);
500
501
                        stk_str[nstk] = sdup(sbuf);
501
502
                        break;
 
503
                case 60+FN_GETENV: /* getenv */
 
504
                        *otyp = 2;
 
505
                        {
 
506
                                string result;
 
507
                                GLEGetEnv(string(stk_str[nstk]), result);
 
508
                                stk_str[nstk] = sdup(result.c_str());
 
509
                        }
 
510
                        break;
502
511
                case 66: /* date$ */
503
512
                        {
504
513
                                *otyp = 2;