Use __open64.
authordrepper <drepper>
Tue, 13 Feb 2001 22:06:45 +0000 (22:06 +0000)
committerdrepper <drepper>
Tue, 13 Feb 2001 22:06:45 +0000 (22:06 +0000)
posix/spawni.c

index 1fa97a0..fe4f272 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -164,9 +164,9 @@ __spawni (pid_t *pid, const char *file,
 
            case spawn_do_open:
              {
-               int new_fd = __open (action->action.open_action.path,
-                                    action->action.open_action.oflag,
-                                    action->action.open_action.mode);
+               int new_fd = __open64 (action->action.open_action.path,
+                                      action->action.open_action.oflag,
+                                      action->action.open_action.mode);
 
                if (new_fd == -1)
                  /* The `open' call failed.  */