ALT Linux Bugzilla
– Attachment 2612 Details for
Bug 15636
Патч, позволяющий дописывать расширения *.cht к именам файлов, которые уже зарегистрированы в системе.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch for chemtool
chemtool-cht.patch (text/plain), 497 bytes, created by
Solntsev Pasha
on 2008-05-13 13:52:23 MSD
(
hide
)
Description:
patch for chemtool
Filename:
MIME Type:
Creator:
Solntsev Pasha
Created:
2008-05-13 13:52:23 MSD
Size:
497 bytes
patch
obsolete
>diff -uNr chemtool-1.6.11/main.c chemtool-1.6.11-new/main.c >--- chemtool-1.6.11/main.c 2007-08-26 14:49:26 +0300 >+++ chemtool-1.6.11-new/main.c 2008-05-11 15:00:28 +0300 >@@ -2950,6 +2950,10 @@ > strcpy (oldname, filename); > strcpy (filename, > gtk_file_selection_get_filename (GTK_FILE_SELECTION (fs))); >+ >+ if (strstr(filename, ".cht") == NULL) >+ strcat(filename, ".cht"); >+ > if (datadir == NULL || (int)strlen (datadir) == 0) > { > tempstr = strrchr (filename, '/');
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15636
:
2612
|
2629
|
2657