/[winpt]/trunk/Src/wptGPG.cpp
ViewVC logotype

Diff of /trunk/Src/wptGPG.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 167 by twoaday, Thu Jan 26 10:17:17 2006 UTC revision 175 by twoaday, Tue Feb 7 08:58:04 2006 UTC
# Line 1104  gnupg_backup_keyrings (void) Line 1104  gnupg_backup_keyrings (void)
1104  void  void
1105  gnupg_display_error (void)  gnupg_display_error (void)
1106  {        {      
1107      char tmpath[512], * errstr;      char tmpath[512], *errstr;
1108      size_t size = 0;      size_t size = 0;
1109      FILE * fp;      FILE *fp;
1110    
1111      GetTempPath (sizeof tmpath - 32, (tmpath));      get_temp_name (tmpath, sizeof (tmpath), "gpg_stderr");
     strcat (tmpath, "gpg_stderr");  
1112      size = get_file_size (tmpath);      size = get_file_size (tmpath);
1113      if (file_exist_check (tmpath) || size <= 0)      if (file_exist_check (tmpath) || size <= 0)
1114          return;          return;

Legend:
Removed from v.167  
changed lines
  Added in v.175

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26