source: trunk/dports/editors/dte/files/patch-hwlinux.c @ 21478

Last change on this file since 21478 was 21478, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 635 bytes
Line 
1--- hwlinux.c   2000-02-13 03:07:04.000000000 +0100
2+++ hwlinux.c   2005-10-27 23:36:45.000000000 +0200
3@@ -636,7 +636,7 @@
4      *  keep track of which version is being used where.
5      * Once "dte" becomes more stable, this may not be useful.
6      */
7-    printf("\n\ndte version %s for Linux\n", VERSION);
8+    printf("\n\ndte version %s for Darwin\n", VERSION);
9 }
10 
11 /*
12@@ -1778,7 +1778,7 @@
13      *  the save file name unique for each user...
14      */
15     if (strcmp(name, RECOVERY) == 0) {
16-        strcpy(cp, (id = cuserid(NULL)) ? id : "");
17+        strcpy(cp, (id = getlogin()) ? id : "");
18         cp += strlen(cp);
19     }
20 
Note: See TracBrowser for help on using the repository browser.