public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libfortran/23803] New: [mingw32] getlog malfunction @ 2005-09-09 22:34 fxcoudert at gcc dot gnu dot org 2005-09-14 23:53 ` [Bug libfortran/23803] " dannysmith at users dot sourceforge dot net ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-09-09 22:34 UTC (permalink / raw) To: gcc-bugs $ cat getlog.f character*50 user call getlog(user) write(*,"(A)") user end $ gfortran getlog.f cc4Qbaaa.o:getlog.f:(.text+0x15): undefined reference to `_gfortran_getlog' collect2: ld returned 1 exit status mingw sets the USERNAME environment variable, we should use it to provide a getlog procedure. Or we could use a windows API function (if there is one available on all windows versions). -- Summary: [mingw32] getlog malfunction Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: i386-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/23803] [mingw32] getlog malfunction 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org @ 2005-09-14 23:53 ` dannysmith at users dot sourceforge dot net 2005-09-24 16:39 ` fxcoudert at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: dannysmith at users dot sourceforge dot net @ 2005-09-14 23:53 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-09-14 23:53 ------- (In reply to comment #0) > mingw sets the USERNAME environment variable, we should use it to provide a > getlog procedure. NT and later set USERNAME by default. win95, win98 do not. The var may not necessarily refect the logon name. > Or we could use a windows API function (if there is one > available on all windows versions). GetUserName() -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/23803] [mingw32] getlog malfunction 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org 2005-09-14 23:53 ` [Bug libfortran/23803] " dannysmith at users dot sourceforge dot net @ 2005-09-24 16:39 ` fxcoudert at gcc dot gnu dot org 2005-09-25 21:02 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-09-24 16:39 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org |org URL| |http://gcc.gnu.org/ml/gcc- | |patches/2005- | |09/msg01528.html Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Keywords| |patch Last reconfirmed|0000-00-00 00:00:00 |2005-09-24 16:39:12 date| | Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/23803] [mingw32] getlog malfunction 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org 2005-09-14 23:53 ` [Bug libfortran/23803] " dannysmith at users dot sourceforge dot net 2005-09-24 16:39 ` fxcoudert at gcc dot gnu dot org @ 2005-09-25 21:02 ` cvs-commit at gcc dot gnu dot org 2005-09-29 12:29 ` [Bug libfortran/23803] [4.0 only] " cvs-commit at gcc dot gnu dot org 2005-09-29 12:30 ` [Bug libfortran/23803] " fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-09-25 21:02 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-25 21:02 ------- Subject: Bug 23803 CVSROOT: /cvs/gcc Module name: gcc Changes by: fxcoudert@gcc.gnu.org 2005-09-25 21:02:17 Modified files: libgfortran : ChangeLog libgfortran/intrinsics: getXid.c getlog.c hostnm.c Log message: PR libfortran/23803 * intrinsics/getXid.c: Add getpid wrapper for MinGW. * intrinsics/getlog.c: Add getlogin wrapper for MinGW. * intrinsics/hostnm.c: Add gethostname wrapper for MinGW. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.306&r2=1.307 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/getXid.c.diff?cvsroot=gcc&r1=1.4&r2=1.5 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/getlog.c.diff?cvsroot=gcc&r1=1.3&r2=1.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/hostnm.c.diff?cvsroot=gcc&r1=1.2&r2=1.3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/23803] [4.0 only] [mingw32] getlog malfunction 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org ` (2 preceding siblings ...) 2005-09-25 21:02 ` cvs-commit at gcc dot gnu dot org @ 2005-09-29 12:29 ` cvs-commit at gcc dot gnu dot org 2005-09-29 12:30 ` [Bug libfortran/23803] " fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-09-29 12:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-29 12:29 ------- Subject: Bug 23803 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: fxcoudert@gcc.gnu.org 2005-09-29 12:28:52 Modified files: libgfortran : ChangeLog libgfortran/intrinsics: cpu_time.c getXid.c getlog.c hostnm.c sleep.c Log message: Backport from mainline: PR libfortran/23380 PR libfortran/23802 PR libfortran/23803 * intrinsics/getXid.c: Add getpid wrapper for MinGW. * intrinsics/getlog.c: Add getlogin wrapper for MinGW. * intrinsics/hostnm.c: Add gethostname wrapper for MinGW. * intrinsics/sleep.c: Add correct sleep macro for MinGW. * intrinsics/cpu_time.c (__cpu_time_1): Provide a MS Windows version. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.163.2.92&r2=1.163.2.93 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/cpu_time.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5&r2=1.5.12.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/getXid.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3&r2=1.3.12.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/getlog.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1.2.2&r2=1.1.2.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/hostnm.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1.2.1&r2=1.1.2.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/intrinsics/sleep.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1.2.1&r2=1.1.2.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/23803] [mingw32] getlog malfunction 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org ` (3 preceding siblings ...) 2005-09-29 12:29 ` [Bug libfortran/23803] [4.0 only] " cvs-commit at gcc dot gnu dot org @ 2005-09-29 12:30 ` fxcoudert at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: fxcoudert at gcc dot gnu dot org @ 2005-09-29 12:30 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-29 12:30 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to fail|4.0.2 | Known to work|4.1.0 | Resolution| |FIXED Summary|[4.0 only] [mingw32] getlog |[mingw32] getlog malfunction |malfunction | Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23803 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-09-29 12:30 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-09-09 22:34 [Bug libfortran/23803] New: [mingw32] getlog malfunction fxcoudert at gcc dot gnu dot org 2005-09-14 23:53 ` [Bug libfortran/23803] " dannysmith at users dot sourceforge dot net 2005-09-24 16:39 ` fxcoudert at gcc dot gnu dot org 2005-09-25 21:02 ` cvs-commit at gcc dot gnu dot org 2005-09-29 12:29 ` [Bug libfortran/23803] [4.0 only] " cvs-commit at gcc dot gnu dot org 2005-09-29 12:30 ` [Bug libfortran/23803] " fxcoudert at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).