X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpass.c;h=4ae233305d756461a1dd9efee7ab4c305b875d5c;hb=fb7fde6f658ac18b7ab7ca61dca9a290cc8c3348;hp=5b39b6d8132836c8010b9505d57a8ded0e8e3a46;hpb=8e10ce2ac4853d26744a6ac45678dd78ee5b055a;p=gnulib.git diff --git a/lib/getpass.c b/lib/getpass.c index 5b39b6d81..4ae233305 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992-2001, 2003, 2004, 2005, 2006 Free Software +/* Copyright (C) 1992-2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -142,7 +142,7 @@ getpass (const char *prompt) == fileno (out). The POSIX restrictions are tricky and change from POSIX version to POSIX version, so play it safe and invoke fseek even if in != out. */ - fseek (out, 0, SEEK_CUR); + fseeko (out, 0, SEEK_CUR); if (buf != NULL) {