Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPSEE module loading fails if modules ancestor directory contains dots #84

Open
GoogleCodeExporter opened this issue Aug 23, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Build install GPSEE in a path like /foo.bar/gpsee
2. Run gsr with input: var x = require('thread'); // the module doesn't matter.

What is the expected output? What do you see instead?

Expected Results:

The program should run and terminate without error.

Actual Results:

Module loading fails with an error message that gpsee wasn't able to find 
function thread_InitModule.

What version of the product are you using? On what operating system?

static char __attribute__((unused)) rcsid[]="$Id: version.c.in,v 1.1 2009/10/27 
20:16:20 wes Exp $";
static char __attribute__((unused)) state[]="$State: Exp $";
static char __attribute__((unused)) hginfo[]="$Hg: 3263e79097ab tip $";

Linux: 2.6
GCC 3.4.6

Please provide any additional information below.

The fix is to change strchr() to strrchr() in line 1109 of gpsee_modules.c.

Original issue reported on code.google.com by windcl...@gmail.com on 24 Mar 2011 at 11:02

@GoogleCodeExporter
Copy link
Author

Original comment by wes%page...@gtempaccount.com on 4 Apr 2011 at 6:21

  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Original comment by wes@page.ca on 9 Oct 2011 at 11:14

  • Added labels: Milestone-Release0.2

@GoogleCodeExporter
Copy link
Author

Original comment by wes@page.ca on 5 Sep 2012 at 3:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant