Unix Technical Forum

Foxpro sys(30) returns wrong value

This is a discussion on Foxpro sys(30) returns wrong value within the Sco Unix forums, part of the Unix Operating Systems category; --> Am running Foxpro 2.6 on SCO 5.0.2 and have been for 10 years. This week for no apparant reason, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 11:42 AM
John Clarke
 
Posts: n/a
Default Foxpro sys(30) returns wrong value

Am running Foxpro 2.6 on SCO 5.0.2 and have been for 10 years.

This week for no apparant reason, my foxpro sys(30) call that should return
the unix login has been returning 'L#*' (regardless of the actual login)
instead.
It does this intermittently and I can find no reason for it nor any pattern
in its occurrence. Have found someone who has had a similar experience that
rewrote their foxpro code without using sys(30). This is not my peferred
option.

Has anyone experienced this strange event and if so any idea of a fix or
work around???

Kind regards,

John Clarke


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 11:43 AM
Mike Brown
 
Posts: n/a
Default Re: Foxpro sys(30) returns wrong value

John Clarke wrote:
>
> Am running Foxpro 2.6 on SCO 5.0.2 and have been for 10 years.
>
> This week for no apparant reason, my foxpro sys(30) call that should return
> the unix login has been returning 'L#*' (regardless of the actual login)
> instead.
> It does this intermittently and I can find no reason for it nor any pattern
> in its occurrence. Have found someone who has had a similar experience that
> rewrote their foxpro code without using sys(30). This is not my peferred
> option.
>
> Has anyone experienced this strange event and if so any idea of a fix or
> work around???
>
> Kind regards,
>
> John Clarke


No real idea, but I can remember having to trim utmp,utmpx,wtmp,wtmpx with
5.0.2 a few times when things went strange.

Mike

--
Michael Brown

The Kingsway Group
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com