From: Mickael R. <mic...@er...> - 2005-04-29 08:20:06
|
Sebastian Bello wrote: > Hi all, > > while testing yaws on Windows XP Home Edition we found it crashed > because there is no /c:/winnt /directory (/C:/windows /instead): > > tmp_dir() -> > case os:type() of > {win32,_} -> > "c:/winnt/temp"; > _ -> > "/tmp" > end. > > We will have to test yaws on a Windows 2003 Server. Does anybody know of > other such issues? This issue was fixed in the Erlang REPOS CDROM, but I did not commit the patch in the CVS version. This will be done today (I would be glad if you test it and tell me if it properly fixes your problem). Otherwise, I have been testing it under Windows and I did not found any other problem. -- Mickaël Rémond |
From: Mickael R. <mic...@er...> - 2005-04-29 13:32:59
|
Mickael Remond wrote: > Sebastian Bello wrote: >> while testing yaws on Windows XP Home Edition we found it crashed >> because there is no /c:/winnt /directory (/C:/windows /instead): > > This issue was fixed in the Erlang REPOS CDROM, but I did not commit the > patch in the CVS version. This will be done today (I would be glad if > you test it and tell me if it properly fixes your problem). > Otherwise, I have been testing it under Windows and I did not found any > other problem. Hello, The patch has been commited in the CVS version and should fix your problem. Please tell us if this is not the case. Cheers, -- Mickaël Rémond |
From: Sebastian B. <seb...@in...> - 2005-04-30 13:25:22
|
Mikael, thank you for the fix. You check for the enviroment variable TMP, but if it doesn't exist, you = look for c:/windows/temp! I guess looking for SystemRoot or simply = SystemDrive would be a better approach(c:/windows does not exist no = Windows NT for example).=20 Sebastian- ----- Original Message -----=20 From: "Mickael Remond" <mic...@er...> To: "Sebastian Bello" <seb...@in...> Cc: <erl...@li...> Sent: Friday, April 29, 2005 10:32 AM Subject: Re: [Erlyaws-list] YAWS on Windows 2003 Server Mickael Remond wrote: > Sebastian Bello wrote: >> while testing yaws on Windows XP Home Edition we found it crashed=20 >> because there is no /c:/winnt /directory (/C:/windows /instead): > > This issue was fixed in the Erlang REPOS CDROM, but I did not commit = the=20 > patch in the CVS version. This will be done today (I would be glad if=20 > you test it and tell me if it properly fixes your problem). > Otherwise, I have been testing it under Windows and I did not found = any=20 > other problem. Hello, The patch has been commited in the CVS version and should fix your=20 problem. Please tell us if this is not the case. Cheers, --=20 Micka=EBl R=E9mond ------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=3D105hix _______________________________________________ Erlyaws-list mailing list Erl...@li... https://lists.sourceforge.net/lists/listinfo/erlyaws-list |
From: Mickael R. <mic...@er...> - 2005-05-01 20:37:24
|
Sebastian Bello wrote: > Mikael, > > thank you for the fix. > You check for the enviroment variable TMP, but if it doesn't exist, you > look for *c:/windows/temp*! I guess looking for /SystemRoot/ or simply > /SystemDrive/ would be a better approach(c:/windows does not exist no > Windows NT for example). I am not sure that putting the Yaws temp files in the SystemRoot or SystemDrive is a good idea as it will put files in an unexpected place and users might be reluctant to remove them without knowing from where they come from. In the REPOS start script, I have: set TMP=%SystemRoot%/Temp So, it might be a good idea to use %SystemRoot%/Temp instead of hardcoding the first part of the path. It will however fails if the Temp directory has been put elsewhere, but I am not sure this is possible, so it should be the safest bet. What do you think ? -- Mickaël Rémond |
From: Sebastian B. <seb...@in...> - 2005-05-02 13:38:48
|
Mikael, I don't know what directory to choose, but I think it shouldn't be hardcoded to a directory whose parent directory doesn't always exist. I don't understand you, but on Windows, when you set the TMP variable, you create -or set- a USER variable; if you set it on the startup script, it should be available later. Sebastian- ----- Original Message ----- From: "Mickael Remond" <mic...@er...> To: "Sebastian Bello" <seb...@in...> Cc: <erl...@li...> Sent: Sunday, May 01, 2005 5:37 PM Subject: Re: [Erlyaws-list] YAWS on Windows 2003 Server > Sebastian Bello wrote: > > Mikael, > > > > thank you for the fix. > > You check for the enviroment variable TMP, but if it doesn't exist, you > > look for *c:/windows/temp*! I guess looking for /SystemRoot/ or simply > > /SystemDrive/ would be a better approach(c:/windows does not exist no > > Windows NT for example). > > I am not sure that putting the Yaws temp files in the SystemRoot or > SystemDrive is a good idea as it will put files in an unexpected place > and users might be reluctant to remove them without knowing from where > they come from. > > In the REPOS start script, I have: > set TMP=%SystemRoot%/Temp > > So, it might be a good idea to use %SystemRoot%/Temp instead of > hardcoding the first part of the path. It will however fails if the Temp > directory has been put elsewhere, but I am not sure this is possible, so > it should be the safest bet. > > What do you think ? > > -- > Mickaël Rémond > |