[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-21 Thread Marko Lindqvist
Update of patch #8048 (project freeciv):

 Contains string changes: Yes => No 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-21 Thread Marko Lindqvist
Update of patch #8048 (project freeciv):

  Status:  Ready For Test => Done   
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-19 Thread Marko Lindqvist
Follow-up Comment #6, patch #8048 (project freeciv):

> it should give the complete path.

It is. "Real" refers to this (not a filename to figure out path for, but the
one and only selected filepath)

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-19 Thread Christian Knoke
Follow-up Comment #5, patch #8048 (project freeciv):

The variable name real_filename suggests that the filename is being displayed.
If this is going to help anyone it should give the complete path.

Christian


___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-19 Thread Jacob Nevins
Follow-up Comment #4, patch #8048 (project freeciv):

This introduces a new string ("Can't open %s for writing") to S2_5.

However, there's an existing string "Could not open %s for writing" in
netfile_download_file() that would do just as well.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-16 Thread Marko Lindqvist
Update of patch #8048 (project freeciv):

 Contains string changes:None => Yes


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-14 Thread Marko Lindqvist
Update of patch #8048 (project freeciv):

 Planned Release:2.6.0, 3.0.0 => 2.5.7, 2.6.0, 3.0.0


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #8048] Sensible error message when file to write cannot be opened

2016-12-14 Thread Marko Lindqvist
URL:
  

 Summary: Sensible error message when file to write cannot be
opened
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 14 Dec 2016 04:26:32 PM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.6.0, 3.0.0
 Contains string changes: None

___

Details:

Spin off from bug #25387.

secfile_save() results in garbage error message (what ever happens to be in
the secfile error buffer) when file cannot be opened for writing. Attached
patch makes buffer to be filled with sensible error message in such a case.



___

File Attachments:


---
Date: Wed 14 Dec 2016 04:26:32 PM EET  Name: SecfileSaveCantOpenErrorMsg.patch
 Size: 435B   By: cazfi



___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev